[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9c21eeae0703081303t576e8757t259380092894ced5@mail.gmail.com>
Date: Thu, 8 Mar 2007 13:03:48 -0800
From: "David Brown" <dmlb2000@...il.com>
To: "Anton Blanchard" <anton@...ba.org>
Cc: "H. Peter Anvin" <hpa@...or.com>,
"Christoph Hellwig" <hch@...radead.org>,
"Arjan van de Ven" <arjan@...radead.org>,
"Roman Zippel" <zippel@...ux-m68k.org>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
gdb@...rceware.org
Subject: Re: PAGE_SIZE Availability Inconsistency
On 3/8/07, Anton Blanchard <anton@...ba.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
> ppc64.
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
asm-*/page.h files.
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
shepherding.
- David Brown
-
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