summaryrefslogtreecommitdiffstats
path: root/kernel/user.c
diff options
context:
space:
mode:
authorPaul Jackson <pj@sgi.com>2006-03-24 03:15:46 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 07:33:20 -0800
commit3cf64b933c90ba701cfdc7188431104c646d7c9e (patch)
treea51cd036519cfddc1235b7023320c0dc53939432 /kernel/user.c
parent74373c6acc52450ced28780d5fece60f1d7d20aa (diff)
downloadlinux-3cf64b933c90ba701cfdc7188431104c646d7c9e.tar.bz2
[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