This is the mail archive of the
mailing list for the GDB project.
Re: PAGE_SIZE Availability Inconsistency
- From: "H. Peter Anvin" <hpa at zytor dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: anton at samba dot org, hch at infradead dot org, arjan at infradead dot org, zippel at linux-m68k dot org, dmlb2000 at gmail dot com, linux-kernel at vger dot kernel dot org, gdb at sourceware dot org
- Date: Thu, 08 Mar 2007 20:31:05 -0800
- Subject: Re: PAGE_SIZE Availability Inconsistency
- References: <firstname.lastname@example.org> <20070309024324.GA24695@kryten> <45F0E014.email@example.com> <firstname.lastname@example.org>
David Miller wrote:
From: "H. Peter Anvin" <email@example.com>
Date: Thu, 08 Mar 2007 20:18:28 -0800
Anton Blanchard wrote:
The best thing to do would be to look for the magic both at PAGE_SIZE
(for compatibility) and MIN_PAGE_SIZE (for sanity.)
The other option is to create a v3 swap format that doesnt use any
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.