]> git.neil.brown.name Git - history.git/commit
[PATCH] BSD accounting speedup
authorAndrew Morton <akpm@osdl.org>
Sun, 6 Jul 2003 12:41:34 +0000 (05:41 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 6 Jul 2003 12:41:34 +0000 (05:41 -0700)
commitd24d1d3abedcd64a9fd90e602bbd45d73b9c0de0
tree265485eb31094fe187996a5c0fd5150aeeea8105
parentd029f790d8ed6d277ef47eb1e1f99cdbc3f11017
[PATCH] BSD accounting speedup

From: Ingo Molnar <mingo@elte.hu>

Most distributions turn on process accounting - but even the common
'accounting is off' case is horrible SMP-scalability-wise: it accesses a
global spinlock during every sys_exit() call, which bounces like mad on SMP
(and NUMA) systems.

(i also got rid of the unused return code.)
include/linux/acct.h
kernel/acct.c