[lkml]   [2000]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] BSD process accounting: new locking
> 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
> 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.

[unhandled content-type:application/octet-stream]
 \ /
  Last update: 2005-03-22 12:45    [W:0.053 / U:2.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site