Re: [patch] arca-vm-2.2.5

Eric W. Biederman
1999-04-07T05:33:51Z

>>>>> "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