PAGE_SIZE Availability Inconsistency
H. Peter Anvin
hpa@zytor.com
Fri Mar 9 04:20:00 GMT 2007
Anton Blanchard wrote:
> Hi,
>
>> I might be missing something but doesn't this break every
>> SWAP partition that was created with something other than
>> MIN_PAGE_SIZE?
>
> It does. I was thinking we could work around it in ppc64 (64kB is quite
> new), but I forgot there are options on sparc64 to change the page size :)
>
> The other option is to create a v3 swap format that doesnt use any
> PAGE_SIZE parameters.
>
The best thing to do would be to look for the magic both at PAGE_SIZE
(for compatibility) and MIN_PAGE_SIZE (for sanity.)
-hpa
More information about the Gdb
mailing list