login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
June
»
1
Re: [PATCH 8/8] Per-container pages reclamation
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Balbir Singh
Subject:
Re: [PATCH 8/8] Per-container pages reclamation
Date: Friday, June 1, 2007 - 2:23 am
Pavel Emelianov wrote:
quoted text
> Balbir Singh wrote: > > [snip] > >>>>> + for_each_online_node(node) { >>>>> +#ifdef CONFIG_HIGHMEM >>>>> + zones = NODE_DATA(node)->node_zonelists[ZONE_HIGHMEM].zones; >>>>> + if (do_try_to_free_pages(zones, sc.gfp_mask, &sc)) >>>>> + return 1; >>>>> +#endif >>>>> + zones = NODE_DATA(node)->node_zonelists[ZONE_NORMAL].zones; >>>>> + if (do_try_to_free_pages(zones, sc.gfp_mask, &sc)) >>>>> + return 1; >>>>> + } >>>> Definitely need to handle ZONE_DMA32 and ZONE_DMA (some architectures put >>>> all memory into ZONE_DMA (or they used to)) >> Won't the node_zonelists[ZONE_NORMAL].zones contain all lower zones (including >> ZONE_DMA and ZONE_DMA32) from various nodes organized by cost? >> >> I need to go lookup the node_zonelists creation. > > > OK, I've got it. The node's zonelist indexed with ZONE_XXX contains > the zone specified and all the zones beyond it. Thus shrinking from > ZONE_HIGHMEM (ZONE_NORMAL if the latter does not exist) is enough. > > Thanks, > Pavel
Exactly! -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/8] RSS controller based on process containers (v3)
, Pavel Emelianov
, (Wed May 30, 8:24 am)
[PATCH 1/8] Resource counters
, Pavel Emelianov
, (Wed May 30, 8:26 am)
[PATCH 2/8] Add container pointer on struct page
, Pavel Emelianov
, (Wed May 30, 8:28 am)
[PATCH 3/8] Add container pointer on mm_struct
, Pavel Emelianov
, (Wed May 30, 8:29 am)
[PATCH 4/8] RSS container core
, Pavel Emelianov
, (Wed May 30, 8:32 am)
[PATCH 5/8] RSS accounting hooks over the code
, Pavel Emelianov
, (Wed May 30, 8:34 am)
[PATCH 6/8] Per container OOM killer
, Pavel Emelianov
, (Wed May 30, 8:35 am)
[PATCH 7/8] Scanner changes needed to implement per-contai ...
, Pavel Emelianov
, (Wed May 30, 8:39 am)
[PATCH 8/8] Per-container pages reclamation
, Pavel Emelianov
, (Wed May 30, 8:42 am)
Re: [PATCH 1/8] Resource counters
, Andrew Morton
, (Wed May 30, 2:44 pm)
Re: [PATCH 2/8] Add container pointer on struct page
, Andrew Morton
, (Wed May 30, 2:45 pm)
Re: [PATCH 3/8] Add container pointer on mm_struct
, Andrew Morton
, (Wed May 30, 2:45 pm)
Re: [PATCH 4/8] RSS container core
, Andrew Morton
, (Wed May 30, 2:46 pm)
Re: [PATCH 5/8] RSS accounting hooks over the code
, Andrew Morton
, (Wed May 30, 2:46 pm)
Re: [PATCH 7/8] Scanner changes needed to implement per-co ...
, Andrew Morton
, (Wed May 30, 2:46 pm)
Re: [PATCH 8/8] Per-container pages reclamation
, Andrew Morton
, (Wed May 30, 2:47 pm)
Re: [PATCH 8/8] Per-container pages reclamation
, Vaidyanathan Srinivasan
, (Thu May 31, 1:22 am)
Re: [PATCH 4/8] RSS container core
, Pavel Emelianov
, (Thu May 31, 2:00 am)
Re: [PATCH 8/8] Per-container pages reclamation
, Balbir Singh
, (Thu May 31, 2:22 am)
Re: [PATCH 8/8] Per-container pages reclamation
, Pavel Emelianov
, (Thu May 31, 3:35 am)
Re: [PATCH 8/8] Per-container pages reclamation
, Andrew Morton
, (Thu May 31, 10:58 am)
Re: [PATCH 5/8] RSS accounting hooks over the code
, Balbir Singh
, (Thu May 31, 11:48 pm)
Re: [PATCH 7/8] Scanner changes needed to implement per-co ...
, Balbir Singh
, (Thu May 31, 11:50 pm)
Re: [PATCH 8/8] Per-container pages reclamation
, Balbir Singh
, (Fri Jun 1, 12:02 am)
Re: [PATCH 7/8] Scanner changes needed to implement per-co ...
, Balbir Singh
, (Fri Jun 1, 12:38 am)
Re: [PATCH 7/8] Scanner changes needed to implement per-co ...
, Pavel Emelianov
, (Fri Jun 1, 12:40 am)
Re: [PATCH 8/8] Per-container pages reclamation
, Pavel Emelianov
, (Fri Jun 1, 12:44 am)
Re: [PATCH 8/8] Per-container pages reclamation
, Andrew Morton
, (Fri Jun 1, 12:49 am)
Re: [PATCH 8/8] Per-container pages reclamation
, Pavel Emelianov
, (Fri Jun 1, 12:50 am)
Re: [PATCH 8/8] Per-container pages reclamation
, Balbir Singh
, (Fri Jun 1, 2:23 am)
Re: [PATCH 8/8] Per-container pages reclamation
, Pavel Emelianov
, (Fri Jun 1, 2:27 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate