Making hotremovable attribute with memory section[2/4]
Subsystems (4)
Forwarded by Yasunori Goto <[email protected]> ----------------------- Original Message -----------------------
From: Yasunori Goto <[email protected]> To: [email protected] Date: Mon, 16 Aug 2004 14:36:42 -0700
Subject: [Lhms-devel] Making hotremovable attribute with memory section[2/4]
----
This patch is to divide per_cpu_pages into removable/un-removable attribute.
Note:
The amount of pool of per_cpu_pages might not be good....
---
hotremovable-goto/include/linux/mmzone.h | 3 + hotremovable-goto/mm/page_alloc.c | 59 +++++++++++++++++-------------- 2 files changed, 36 insertions(+), 26 deletions(-)
include/linux/mmzone.h renamed from include/linux/mmzone.h~divide_pcp +2 -1
@@ -67,7 +67,8 @@ struct per_cpu_pages { };struct per_cpu_pageset { -struct per_cpu_pages pcp[2 ];/* 0: hot. 1: cold */ +struct per_cpu_pages pcp[4 ];/* 0: hot-unremovable. 1: cold-unremovable +2: hot-removable 3: cold-removable */ #ifdef CONFIG_NUMA unsigned long numa_hit;/* allocated in intended node */ unsigned long numa_miss;/* allocated in non intended node */
mm/page_alloc.c renamed from mm/page_alloc.c~divide_pcp +34 -25
95 lines not on this page · raw message
_
Signature · 26 lines
Yasunori Goto <ygoto at us.fujitsu.com> ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Lhms-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lhms-devel --------------------- Original Message Ends -------------------- -- Yasunori Goto <ygoto at us.fujitsu.com> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>