Home
last modified time | relevance | path

Searched hist:"96 a9b4d31eba4722ba7aad2cc15118a7799f499f" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/lib/
H A Dcpumask.cdiff 96a9b4d31eba4722ba7aad2cc15118a7799f499f Sat Mar 25 05:08:10 CST 2006 Andrew Morton <akpm@osdl.org> [PATCH] cpumask: uninline any_online_cpu()

text data bss dec hex filename
before: 3605597 1363528 363328 5332453 515de5 vmlinux
after: 3605295 1363612 363200 5332107 515c8b vmlinux

218 bytes saved.

Also, optimise any_online_cpu() out of existence on CONFIG_SMP=n.

This function seems inefficient. Can't we simply AND the two masks, then use
find_first_bit()?

Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
/openbmc/linux/include/linux/
H A Dcpumask.hdiff 96a9b4d31eba4722ba7aad2cc15118a7799f499f Sat Mar 25 05:08:10 CST 2006 Andrew Morton <akpm@osdl.org> [PATCH] cpumask: uninline any_online_cpu()

text data bss dec hex filename
before: 3605597 1363528 363328 5332453 515de5 vmlinux
after: 3605295 1363612 363200 5332107 515c8b vmlinux

218 bytes saved.

Also, optimise any_online_cpu() out of existence on CONFIG_SMP=n.

This function seems inefficient. Can't we simply AND the two masks, then use
find_first_bit()?

Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>