Re: [PATCH, RFC] Remove fasync() BKL usage, take 3325

2012-08-23 Thread Andrew Morton
On Fri, 23 Jan 2009 05:56:46 +0100 Andi Kleen wrote: > On Thu, Jan 22, 2009 at 03:32:49PM -0500, Christoph Hellwig wrote: > > On Thu, Jan 22, 2009 at 06:51:04AM -0800, Andrew Morton wrote: > > > OK, replacing a lock_kernel() with a spin_lock(&global_lock) is pretty > > > straightforwad. But it's

bkl usage

2000-11-12 Thread Nick Piggin
Hi. In my efforts to understand the linux kernel v2.4 I found the bkl being used in kernel/acct.c to lock seemingly local data. Would someone please explain what races this prevents vs. say: --- linux/kernel/acct.c Mon Oct 30 01:02:56 2000 +++ linux-2.4.0-test10/kernel/acct.c Mon Oct 30 01:10:20