[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] arca-vm-2.2.5



>>>>> "AA" == Andrea Arcangeli <andrea@e-mind.com> writes:

AA> Does something like this looks like better?
yes. But:

#define __l1_cache_aligned __attribute__((aligned (L1_CACHE_BYTES)))
...

}
#ifdef SMP
__l1_cache_aligned
#endif
mem_map_t;

Looks even better, and is even maintainable.
Note: I haven't tried actually tried to compile this fragment ...

Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/