Re: [PATCH 5/9] kstaled: skip non-RAM regions.

From: KAMEZAWA Hiroyuki
Date: Wed Sep 28 2011 - 04:04:35 EST


On Tue, 27 Sep 2011 17:49:03 -0700
Michel Lespinasse <walken@xxxxxxxxxx> wrote:

> Add a pfn_skip_hole function that shrinks the passed input range in order to
> skip over pfn ranges that are known not bo be RAM backed. The x86
> implementation achieves this using e820 tables; other architectures
> use a generic no-op implementation.
>
>
> Signed-off-by: Michel Lespinasse <walken@xxxxxxxxxx>

Hm, can't you use walk_system_ram_range() in kernel/resource.c ?
If it's enough, please update it.

Thanks,
-Kame

--
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/