Re: [Lhms-devel] Re: [PATCH 0/9] Reducing fragmentation using zonesv4

From: KAMEZAWA Hiroyuki
Date: Fri Jan 27 2006 - 06:18:36 EST


Mel Gorman wrote:
On Fri, 27 Jan 2006, KAMEZAWA Hiroyuki wrote:

KAMEZAWA Hiroyuki wrote:
Could you add this patch to your set ?
This was needed to boot my x86 machine without HIGHMEM.

Sorry, I sent a wrong patch..
This is correct one.

I can add it although I would like to know more about the problem. I tried
booting with and without CONFIG_HIGHMEM both stock kernels and with
anti-frag and they all boot fine. What causes your machine to die? Does it
occur with stock -mm or just with anti-frag?

Sorry, it looks there is no problem with your newest set :(
This was problem of my tree...

Sigh, I should be more carefull.
my note is attached.

Sorry,
-- Kame

== Note ==

I replaced si_meminfo() like following
==
#ifdef CONFIG_HIGHMEM
val->totalhigh = nr_total_zonetype_pages(ZONE_HIGHMEM);
val->freehigh = nr_free_zonetype_pages(ZONE_HIGHMEM);
#else
==
If ZONE_HIGHMEM has no pages, val->totalhigh is 0 and mempool for bounce buffer
is not initialized.

But, now
==
#ifdef CONFIG_HIGHMEM
val->totalhigh = totalhigh_pages;
val->freehigh = nr_free_highpages();
#else
==

totalhigh_pages is defined by highstart_pfn and highend_pfn.
By Zone_EasyRclm, totalhigh_pages is not affected.
mempool for bounce buffer is properly initialized....


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