On 22 April 2005 12:59, Bulat Ziganshin wrote: > also while viewing MBlock.c i wonder why you are aligning megablocks > to megabyte boundary - may be 8-byte aligning would be enough? > megablocks are never copied or allocated as whole, and even in this > case aligning to CPU cache line boundary will be enough
Megablocks have to be allocated on a 1Mb boundary because of the way we map addresses to block descriptors: see Bdescr(). Cheers, Simon _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users