diff options
author | Manfred Spraul <manfred@colorfullife.com> | 2005-09-03 15:55:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 00:05:49 -0700 |
commit | 00e145b6d59a16dd7740197a18f7abdb3af004a9 (patch) | |
tree | 7b081ccfa6a34e5a17f4f1d6925d4945df2a97c1 /fs/proc/internal.h | |
parent | 34342e863c3143640c031760140d640a06c6a5f8 (diff) |
[PATCH] slab: removes local_irq_save()/local_irq_restore() pair
Proposed by and based on a patch from Eric Dumazet <dada1@cosmosbay.com>:
This patch removes unnecessary critical section in ksize() function, as
cli/sti are rather expensive on modern CPUS.
It additionally adds a docbook entry for ksize() and further simplifies the
code.
Signed-Off-By: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc/internal.h')
0 files changed, 0 insertions, 0 deletions