[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45F0E309.70403@zytor.com>
Date: Thu, 08 Mar 2007 20:31:05 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: David Miller <davem@...emloft.net>
CC: anton@...ba.org, hch@...radead.org, arjan@...radead.org,
zippel@...ux-m68k.org, dmlb2000@...il.com,
linux-kernel@...r.kernel.org, gdb@...rceware.org
Subject: Re: PAGE_SIZE Availability Inconsistency
David Miller wrote:
> From: "H. Peter Anvin" <hpa@...or.com>
> Date: Thu, 08 Mar 2007 20:18:28 -0800
>
>> Anton Blanchard wrote:
>>> 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.)
>
> That might work, but a large part of me says to go for v3
> and do it cleanly.
The advantage would be that it wouldn't require a v3 for platforms for
which MIN_PAGE_SIZE == PAGE_SIZE, which accounts for a very large
percentage of systems.
You still have to look for the darn magic in two places, so there is no
reason for it to be different.
-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists