diff options
| author | Manfred Spraul <[email protected]> | 2005-09-03 15:55:07 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-09-05 00:05:49 -0700 |
| commit | 00e145b6d59a16dd7740197a18f7abdb3af004a9 (patch) | |
| tree | 7b081ccfa6a34e5a17f4f1d6925d4945df2a97c1 /scripts/basic/split-include.c | |
| parent | 34342e863c3143640c031760140d640a06c6a5f8 (diff) | |
[PATCH] slab: removes local_irq_save()/local_irq_restore() pair
Proposed by and based on a patch from Eric Dumazet <[email protected]>:
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions