K 10 svn:author V 5 peter K 8 svn:date V 27 2002-08-30T00:29:52.000000Z K 7 svn:log V 623 AARGH! btoc() is used in the MI buffer sizing routines to calculate the minimum of either physmem or KVA. But.. btoc() casts the address to (unsigned int). This is NOT GOOD on 64 bit machines and on alpha and ia64, this results in a buffer limit of around 500K (not megs). This causes extreme disk access problems on alpha and ia64. Since this cast is simply to ensure that it is unsigned, use 'vm_offset_t' instead. This is available because it is already defined in types.h. Alpha has been suffering from this for ages. It always felt like the caching wasn't working, and unfortunately it turned out that way. :-( END