Re: [patch] BSD process accounting: new locking

From: Nick Piggin (s3293115@student.anu.edu.au)
Date: Sun Oct 29 2000 - 09:14:46 EST


> I have attached a very small patch (test9) to remove the kernel lock from
> kernel/acct.c. If I am missing something major (a brain?), I apologise in
> advance. I have tested this on my UP x86 with spinlock debugging. I would
> appreciate comments or an explanation of why this can't be done if you
have
> the time. Thanks.
>
> Nick
>

Maybe there was a possibility of a race when acct_auto_close calls sys_acct
in the last patch. If so, this should fix it.

Nick.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:24 EST