[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48159FC2.8070909@googlemail.com>
Date: Mon, 28 Apr 2008 11:58:26 +0200
From: Gabriel C <nix.or.die@...glemail.com>
To: Mika Fischer <mika.fischer@...pnet.de>
CC: Yinghai Lu <yhlu.kernel@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>, Andi Kleen <ak@...e.de>,
"H. Peter Anvin" <hpa@...or.com>,
LKML <linux-kernel@...r.kernel.org>,
Jesse Barnes <jesse.barnes@...el.com>, balajirrao@...il.com
Subject: Re: [PATCH] x86_32: trim memory by updating e820 v3
Mika Fischer wrote:
> Yinghai Lu schrieb:
>>>> you should get
>>>>> reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
>>>>> reg01: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
>>>>> reg02: base=0xbf700000 (3063MB), size= 1MB: uncachable, count=1
>>>>> reg03: base=0xbf800000 (3064MB), size= 8MB: uncachable, count=1
>>>>> reg04: base=0x100000000 (4096MB), size=1024MB: write-back, count=1
>> please check
>> http://lkml.org/lkml/2008/4/28/115
>
> OK, this time it worked!
>
> With mtrr_chunk_size=1g:
> reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
> reg01: base=0x80000000 (2048MB), size=1024MB: write-back, count=1
> reg02: base=0xbf700000 (3063MB), size= 1MB: uncachable, count=1
> reg03: base=0xbf800000 (3064MB), size= 8MB: uncachable, count=1
> reg04: base=0x100000000 (4096MB), size=1024MB: write-back, count=1
>
> Without mtrr_chunk_size=1g:
> reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
> reg01: base=0x80000000 (2048MB), size= 512MB: write-back, count=1
> reg02: base=0xa0000000 (2560MB), size= 256MB: write-back, count=1
> reg03: base=0xb0000000 (2816MB), size= 256MB: write-back, count=1
> reg04: base=0xbf700000 (3063MB), size= 1MB: uncachable, count=1
> reg05: base=0xbf800000 (3064MB), size= 8MB: uncachable, count=1
> reg06: base=0x100000000 (4096MB), size=1024MB: write-back, count=1
>
> Both seem equivalent and correct.
>
> There are also no warnings anymore in the dmesg output:
> With mtrr_chunk_size=1g:
> http://bugzilla.kernel.org/attachment.cgi?id=15950
>
> Without mtrr_chunk_size=1g:
> http://bugzilla.kernel.org/attachment.cgi?id=15951
>
>> also, can you try 64bit too?
>
> I'm not sure how to do this. Can I compile it under 32bit Linux? If not that
> will be difficult since I don't have space left for a 64bit installation on my
> hard-drive. Maybe Gabiel C can test 64bit?
Yes sure, done already :) I could test 32/64 bit on this box if needed.
>
> Regards,
> Mika
Gabriel
--
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