[Patch] New zone ZONE_EASY_RECLAIM take 4[0/8]

From: Yasunori Goto
Date: Tue Dec 20 2005 - 03:52:49 EST


Hello.

I rewrote ZONE_EASY_RECLAIM patches. This zone is made for memory hotplug
as a new zone.
It aims to collect the page which is difficult for reclaiming on a some
areas like a few nodes, (they become sacrifice areas for memory remove),
and it makes other areas this easy reclaim zone to be removed easier.
The feature like this patch is essential for memory hotplug.

This patch set doesn't include to allocate this zone.
Because it is arch dependence how the kernel divides zones.
But this patch set was tested by temporary test code for it.
(ex, All highmem becomes easy reclaim on i386, or
Nodes other than node 0 becomes easy reclaime on ia64 with numa emulation.)

Update points from take 3 are followings.

Please comment.

----------------------------

Changes take 3-> take 4
- Update patches for 2.6.15-rc5-mm3.
- modify highest_zone() again. i386 never used easy reclaim zone
at take 3. and rearrange value of __GFP_DMA32, __GFP_HIGHMEM
and __GFP_EASY_RECLAIM.
- fix number of index of sysctl_lowmem_reserve_ratio[]
- add information for /proc/meminfo.
- add place which __GFP_EASY_RECLAIM is disabled for gfp_mask.
(shmem, pipe, and symlink)

Changes take 2-> take 3
- Update patches for 2.6.15-rc5-mm1.
- modify highest_zone() to avoid panic on i386.
- fix value of sysctl_lowmem_reserve_ratio[]
- define is_higher_zone(). it can be used on other place.


Changes take 1-> take 2
- In -mm tree, ZONE_DMA32 is already included. So, I recreate
ZONE_EASY_RECLAIM as 5th zone against 2.6.14-mm1. It is difference of
previous one.



--
Yasunori Goto


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