Thread (3 messages) 3 messages, 3 authors, 2000-06-22

Re: 2.4: why is NR_GFPINDEX so large?

From: Andrea Arcangeli <hidden>
Date: 2000-06-22 19:26:56

On Wed, 21 Jun 2000, Timur Tabi wrote:
So I suppose the best way to optimize this is to make sure that
"NR_GFPINDEX * sizeof(zonelist_t)" is a multiple of the cache line size?
Yes but only in SMP. On an UP compile you can save space. For this purpose
in ac22-class there's a ____cacheline_aligned_in_smp macro that you can
use for things like that (it relies on the compiler enterely).

Andrea

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help