public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <haveblue@us.ibm.com>
To: Chuck Luciano <chuck@mrluciano.com>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: My own 3.5G patch plus question on Ingo's 4G/$G patch
Date: 10 Jul 2003 16:02:19 -0700	[thread overview]
Message-ID: <1057878139.1413.11.camel@nighthawk> (raw)
In-Reply-To: <NFBBKNADOLMJPCENHEALKEAHGBAA.chuck@mrluciano.com>

On Thu, 2003-07-10 at 12:09, Chuck Luciano wrote:
> I've been working on a patch for 2.4.18 that allows PAGE_OFFSET
> to be set on boundarys other then 1GB multiples. I started with
> a patch that I got from Martin Bligh and back ported it to 2.4.18.

I stole the configurable PAGE_OFFSET code from Andrea, made it work with
partial kernel pmds, and stuck it in Martin's tree.  There are several
parts to it, and I'm not sure which ones you got.

> http://www.mrluciano.com/chuck/linux-2.4.18-unaligned.patch
> 
> I'll apologize in advance for not having figured out how the configure
> system works, so, when you apply this patch it's on. Also, you have to
> edit vmlinux.lds AND page.h to move the boundary.

Here's the 2.5 patch to do the configuration: 
http://ftp.kernel.org/pub/linux/kernel/people/mbligh/patches/2.5.73/2.5.73-mjb1/102-config_page_offset
You'll have to adapt the arch/i386/Kconfig stuff to 2.4, but there's a
good example of it here:
http://ftp.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.21rc8aa1/00_3.5G-address-space-5
(which is where I stole the code from to begin with)

Instead of changing _all_ of the loops which touch PMDs, I suggest you
clean it up inside of the pmd function themselves.  All of these are
confusing:
+		if (start + PGDIR_SIZE < start)
+			break;


-- 
Dave Hansen
haveblue@us.ibm.com


  parent reply	other threads:[~2003-07-10 22:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-10 19:09 My own 3.5G patch plus question on Ingo's 4G/$G patch Chuck Luciano
2003-07-10 20:20 ` Martin J. Bligh
2003-07-10 20:56   ` Chuck Luciano
2003-07-10 23:02 ` Dave Hansen [this message]
2003-07-10 23:24   ` My own 3.5G patch - there was a bug in the patch I started with Chuck Luciano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1057878139.1413.11.camel@nighthawk \
    --to=haveblue@us.ibm.com \
    --cc=chuck@mrluciano.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox