login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
16
Re: [PATCH 4/6] Have zonelist contains structs with both a zone pointer and zone_idx
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: David Rientjes
Subject:
Re: [PATCH 4/6] Have zonelist contains structs with both a zone pointer and zone_idx
Date: Tuesday, October 16, 2007 - 8:22 pm
On Fri, 28 Sep 2007, Mel Gorman wrote:
quoted text
> > Filtering zonelists requires very frequent use of zone_idx(). This is costly > as it involves a lookup of another structure and a substraction operation. As > the zone_idx is often required, it should be quickly accessible. The node > idx could also be stored here if it was found that accessing zone->node is > significant which may be the case on workloads where nodemasks are heavily > used. > > This patch introduces a struct zoneref to store a zone pointer and a zone > index. The zonelist then consists of an array of this struct zonerefs which > are looked up as necessary. Helpers are given for accessing the zone index > as well as the node index. > > [kamezawa.hiroyu@jp.fujitsu.com: Suggested struct zoneref instead of embedding information in pointers] > Signed-off-by: Mel Gorman <mel@csn.ul.ie> > Acked-by: Christoph Lameter <clameter@sgi.com>
OOM locking looks good, thanks. Acked-by: David Rientjes <rientjes@google.com> -
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/6] Use one zonelist per node instead of multiple ...
, Mel Gorman
, (Fri Sep 28, 7:23 am)
[PATCH 1/6] Use zonelists instead of zones when direct rec ...
, Mel Gorman
, (Fri Sep 28, 7:23 am)
[PATCH 2/6] Introduce node_zonelist() for accessing the zo ...
, Mel Gorman
, (Fri Sep 28, 7:24 am)
[PATCH 3/6] Use two zonelist that are filtered by GFP mask
, Mel Gorman
, (Fri Sep 28, 7:24 am)
[PATCH 4/6] Have zonelist contains structs with both a zon ...
, Mel Gorman
, (Fri Sep 28, 7:24 am)
[PATCH 5/6] Filter based on a nodemask as well as a gfp_mask
, Mel Gorman
, (Fri Sep 28, 7:25 am)
[PATCH 6/6] Use one zonelist that is filtered by nodemask
, Mel Gorman
, (Fri Sep 28, 7:25 am)
Re: [PATCH 5/6] Filter based on a nodemask as well as a gf ...
, Lee Schermerhorn
, (Fri Sep 28, 8:37 am)
Re: [PATCH 5/6] Filter based on a nodemask as well as a gf ...
, Mel Gorman
, (Fri Sep 28, 11:28 am)
Re: [PATCH 5/6] Filter based on a nodemask as well as a gf ...
, Paul Jackson
, (Fri Sep 28, 11:38 am)
Re: [PATCH 5/6] Filter based on a nodemask as well as a gf ...
, Lee Schermerhorn
, (Fri Sep 28, 2:03 pm)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Nishanth Aravamudan
, (Mon Oct 8, 6:11 pm)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Christoph Lameter
, (Mon Oct 8, 6:56 pm)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Nishanth Aravamudan
, (Mon Oct 8, 8:17 pm)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Mel Gorman
, (Tue Oct 9, 8:40 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Nishanth Aravamudan
, (Tue Oct 9, 9:25 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Nishanth Aravamudan
, (Tue Oct 9, 11:12 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Christoph Lameter
, (Tue Oct 9, 11:47 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Lee Schermerhorn
, (Wed Oct 10, 8:53 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Nishanth Aravamudan
, (Wed Oct 10, 9:05 am)
Re: [PATCH 6/6] Use one zonelist that is filtered by nodemask
, Mel Gorman
, (Wed Oct 10, 9:09 am)
Re: [PATCH 4/6] Have zonelist contains structs with both a ...
, David Rientjes
, (Tue Oct 16, 8:22 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
Michael S. Tsirkin
[PATCH 3/3] vhost: fix get_user_pages_fast error handling
Jeff Garzik
Re: [0/3] POHMELFS high performance network filesystem. First steps in parallel pr...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Colocation donated by:
Syndicate