On Tue, Jul 23, 2002 at 03:02:44PM +1000, Lachlan McIlroy wrote: > What is the cost of using atomic counters? It's only a few > instructions, right?. It must be less overhead than using > spinlocks. No, I think you end up flushing all CPUs when you make one, it's a big hit. And spinlocks are created out of atomic counters :) thanks, greg k-h _______________________________________________ linux-security-module mailing list linux-security-moduleat_private http://mail.wirex.com/mailman/listinfo/linux-security-module
This archive was generated by hypermail 2b30 : Tue Jul 23 2002 - 07:18:32 PDT