Re: [PATCH] x86_32: trim memory by updating e820 v2

From: Yinghai Lu
Date: Mon Jan 21 2008 - 15:03:20 EST


On Monday 21 January 2008 11:14:02 am Justin Piszcz wrote:
>
> On Mon, 21 Jan 2008, Jesse Barnes wrote:
>
> > On Sunday, January 20, 2008 10:56 pm Yinghai Lu wrote:
> >> [PATCH] x86_32: trim memory by updating e820 v2
> >>
> >> when mtrr is not covering all e820 table, need to trim the ram, need to
> >> update e820
> >>
> >> reuse some code for x86_64
> >>
> >> here need to add early_identify_cpu for x86_32, and move mtrr_bp_init early
> >>
> >> compiled test only, need someone test it
> >
> > I like this approach too. So as long as the E820 modification method works
> > (i.e. we have some testers, maybe Justin can give it a try), you can add
> >
> > Signed-off-by: Jesse Barnes <jesse.barnes@xxxxxxxxx>
> >
> > or
> >
> > Acked-by: Jesse Barnes <jesse.barnes@xxxxxxxxx>
> >
> > as appropriate too.
> >
> > Thanks,
> > Jesse
> >
>
> Subject: Re: [PATCH] x86_32: trim memory by updating e820 v2
> ^^
>
> I run x86_64 btw-- if there is a kernel.patch for x86_64 please let me
> know and I can test, thanks.

please get x86.git

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
cd linux-2.6
#--------------{ x86.git instructions }---------->
# Add Linus's tree as a remote
git remote add linus git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

# Add Ingo's tree as a remote
git remote add x86 git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git

# With that setup, just run the following to get any changes you
# don't have. It will also notice any new branches Ingo/Linus
# add to their repo. Look in .git/config afterwards, the format
# to add new remotes is easy to figure out.
git remote update
#-------------------------
git merge x86/master
git merge x86/mm

and apply

[PATCH] x86_64: check if Tom2 is enabled
http://lkml.org/lkml/2008/1/21/20
[PATCH] x86_64: update e820 instead of updating end_pfn v3
http://lkml.org/lkml/2008/1/21/19
[PATCH] x86_32: trim memory by updating e820 v2
http://lkml.org/lkml/2008/1/21/18

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/