lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86: memtest bootparam
On Mon, Apr 21, 2008 at 7:17 AM, Ingo Molnar <mingo@elte.hu> wrote:
>
> * Yinghai Lu <yhlu.kernel@gmail.com> wrote:
>
> > > > OK. Did the new memtest feature get documented anywhere, btw?
> > > > I'm only vaguely aware of its existence.
> > >
> > > Actually it would be nice if memtest was global, not x86-specific,
> > > feature.
> > >
> > > I had some fun with arm running with 256mb, when only 128mb was
> > > present. It booted succesfully...
> >
> > depends if you have find_e820_area_size in you platform. that need
> > reserve_early...
> >
> > maybe we need to make reserve_early generic at first.
>
> e820 is very x86 specific - i think the proper interface would be to
> move the memtest feature to the bootmem subsystem. I.e. to run it once
> all the early reservations have been flushed into bootmem - but before
> we free all bootmem pages into the page allocator.
>
> this still leaves a rather large amount of RAM to be tested, and keeps
> it all cross-arch as well. Hm?

sounds good, and arch part only need to check region that bootdata use
for bootmem allocation.

YH


\
 
 \ /
  Last update: 2008-04-21 18:41    [W:0.060 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site