Files
linux-legacy/kernel
Paul Jackson 7edc59628b [PATCH] cpuset: mark number_of_cpusets read_mostly
Mark cpuset global 'number_of_cpusets' as __read_mostly.

This global is accessed everytime a zone is considered in the zonelist loops
beneath __alloc_pages, looking for a free memory page.  If number_of_cpusets
is just one, then we can short circuit the mems_allowed check.

Since this global is read alot on a hot path, and written rarely, it is an
excellent candidate for __read_mostly.

Thanks to Christoph Lameter for the suggestion.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:13:45 -08:00
..
2006-01-06 08:33:49 -08:00
2005-12-12 08:57:43 -08:00
2005-10-28 08:16:49 -07:00
…
…
2006-01-08 20:13:40 -08:00
…
2006-01-08 20:13:43 -08:00
…
2005-10-30 17:37:32 -08:00
2005-10-29 21:40:42 -07:00
…
2005-10-30 17:37:17 -08:00
2006-01-06 08:33:53 -08:00
2006-01-08 20:13:40 -08:00
…
2006-01-08 20:13:40 -08:00
2006-01-08 20:13:40 -08:00
…
2005-12-12 08:57:42 -08:00
2005-10-30 17:37:25 -08:00
…
…
…
2006-01-08 20:12:40 -08:00