diff options
author | 2006-02-01 03:05:48 -0800 | |
---|---|---|
committer | 2006-02-01 08:53:17 -0800 | |
commit | 5295a74cc0bcf1291686eb734ccb06baa3d55c1a (patch) | |
tree | e90b312f402729893a97f164ce7e03386fe9c5ce /security/selinux/include/objsec.h | |
parent | [PATCH] slab: extract slab_{put|get}_obj (diff) | |
download | linux-rng-5295a74cc0bcf1291686eb734ccb06baa3d55c1a.tar.xz linux-rng-5295a74cc0bcf1291686eb734ccb06baa3d55c1a.zip |
[PATCH] slab: reduce inlining
From: Manfred Spraul <manfred@colorfullife.com>
Reduce the amount of inline functions in slab to the functions that
are used in the hot path:
- no inline for debug functions
- no __always_inline, inline is already __always_inline
- remove inline from a few numa support functions.
Before:
text data bss dec hex filename
13588 752 48 14388 3834 mm/slab.o (defconfig)
16671 2492 48 19211 4b0b mm/slab.o (numa)
After:
text data bss dec hex filename
13366 752 48 14166 3756 mm/slab.o (defconfig)
16230 2492 48 18770 4952 mm/slab.o (numa)
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/selinux/include/objsec.h')
0 files changed, 0 insertions, 0 deletions