Pavel Emelyanov a75d979765 bsdacct: turn the acct_lock from on-the-struct to global
Don't use per-bsd-acct-struct lock, but work with a global one.

This lock is taken for short periods, so it doesn't seem it'll become a
bottleneck, but it will allow us to easily avoid many locking difficulties
in the future.

So this is a mostly s/acct_globals.lock/acct_lock/ over the file.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Balbir Singh <balbir@in.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:47 -07:00
..
2008-07-23 17:47:32 -07:00
2008-05-01 08:03:59 -07:00
2008-07-25 10:53:38 -07:00
2008-07-25 10:53:40 -07:00
2008-03-30 14:18:41 -07:00
2007-07-16 09:05:50 -07:00
2008-06-24 10:52:55 -05:00
2008-07-02 15:06:24 -06:00
2008-07-25 10:53:29 -07:00
2008-07-16 18:02:33 -07:00
2007-07-16 09:05:50 -07:00
2008-05-23 20:39:40 +02:00
2008-02-06 10:41:02 -08:00
2008-07-25 10:53:45 -07:00
2008-07-25 10:53:45 -07:00
2008-07-25 10:53:29 -07:00
2008-04-30 08:29:53 -07:00
2008-02-08 09:22:31 -08:00