This is the mail archive of the
mailing list for the GDB project.
Re: PAGE_SIZE Availability Inconsistency
- From: "David Brown" <dmlb2000 at gmail dot com>
- To: "Anton Blanchard" <anton at samba dot org>
- Cc: "H. Peter Anvin" <hpa at zytor dot com>, "Christoph Hellwig" <hch at infradead dot org>, "Arjan van de Ven" <arjan at infradead dot org>, "Roman Zippel" <zippel at linux-m68k dot org>, "Linux Kernel Mailing List" <linux-kernel at vger dot kernel dot org>, gdb at sourceware dot org
- Date: Thu, 8 Mar 2007 13:03:48 -0800
- Subject: Re: PAGE_SIZE Availability Inconsistency
- References: <firstname.lastname@example.org> <20070306092917.GA5226@infradead.org> <email@example.com> <20070308090031.GB7373@infradead.org> <firstname.lastname@example.org> <20070308160852.GB9916@infradead.org> <45F0426C.email@example.com> <20070308175729.GA7054@kryten>
On 3/8/07, Anton Blanchard <firstname.lastname@example.org> wrote:
> By the way, it's a massive snafu that the swap area magic number is
> dependent on PAGE_SIZE. There is absolutely no good reason for that.
Agreed, its been a big problem booting between 4kB and 64kB kernels on
Okay this really seems like a couple of things need to happen, first
change swap dependency on PAGE_SIZE, then move the __KERNEL__ define
above the PAGE_SIZE and friends defines in the appropriate
Do these tasks need to happen in this order? I haven't really looked
at the swap code at all...
Also, I'd be willing to help I've done kernel coding for experimental
projects and such but nothing for kernel.org so I might need some
- David Brown