summaryrefslogtreecommitdiffstats
path: root/kernel/user.c
diff options
context:
space:
mode:
authorPaul Jackson2006-03-24 12:15:46 +0100
committerLinus Torvalds2006-03-24 16:33:20 +0100
commit3cf64b933c90ba701cfdc7188431104c646d7c9e (patch)
treea51cd036519cfddc1235b7023320c0dc53939432 /kernel/user.c
parent[PATCH] bitmap: region multiword spanning support (diff)
downloadkernel-qcow2-linux-3cf64b933c90ba701cfdc7188431104c646d7c9e.tar.gz
kernel-qcow2-linux-3cf64b933c90ba701cfdc7188431104c646d7c9e.tar.xz
kernel-qcow2-linux-3cf64b933c90ba701cfdc7188431104c646d7c9e.zip
[PATCH] bitmap: region restructuring
Restructure the bitmap_*_region() operations, to avoid code duplication. Also reduces binary text size by about 100 bytes (ia64 arch). The original Bottomley bitmap_*_region patch added about 1000 bytes of compiled kernel text (ia64). The Mundt multiword extension added another 600 bytes, and this restructuring patch gets back about 100 bytes. But the real motivation was the reduced amount of duplicated code. Tested by Paul Mundt using <= BITS_PER_LONG as well as power of 2 aligned multiword spanning allocations. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions