login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
October
»
2
Re: [PATCH 4/4] capture pages freed during direct reclaim for allocation by the reclaimer
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: KAMEZAWA Hiroyuki
Subject:
Re: [PATCH 4/4] capture pages freed during direct reclaim for allocation by the reclaimer
Date: Thursday, October 2, 2008 - 12:24 am
On Wed, 1 Oct 2008 13:31:01 +0100 Andy Whitcroft <apw@shadowen.org> wrote:
quoted text
> When a process enters direct reclaim it will expend effort identifying > and releasing pages in the hope of obtaining a page. However as these > pages are released asynchronously there is every possibility that the > pages will have been consumed by other allocators before the reclaimer > gets a look in. This is particularly problematic where the reclaimer is > attempting to allocate a higher order page. It is highly likely that > a parallel allocation will consume lower order constituent pages as we > release them preventing them coelescing into the higher order page the > reclaimer desires. > > This patch set attempts to address this for allocations above > ALLOC_COSTLY_ORDER by temporarily collecting the pages we are releasing > onto a local free list. Instead of freeing them to the main buddy lists, > pages are collected and coelesced on this per direct reclaimer free list. > Pages which are freed by other processes are also considered, where they > coelesce with a page already under capture they will be moved to the > capture list. When pressure has been applied to a zone we then consult > the capture list and if there is an appropriatly sized page available > it is taken immediatly and the remainder returned to the free pool. > Capture is only enabled when the reclaimer's allocation order exceeds > ALLOC_COSTLY_ORDER as free pages below this order should naturally occur > in large numbers following regular reclaim. > > Thanks go to Mel Gorman for numerous discussions during the development > of this patch and for his repeated reviews. >
Hmm.. is this routine better than mm/memory_hotplug.c::do_migrate_range(start_pfn, end_pfn) ? Thanks, -Kame --
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/4] Reclaim page capture v4
, Andy Whitcroft
, (Wed Oct 1, 5:30 am)
[PATCH 1/4] pull out the page pre-release and sanity check ...
, Andy Whitcroft
, (Wed Oct 1, 5:30 am)
[PATCH 2/4] pull out zone cpuset and watermark checks for ...
, Andy Whitcroft
, (Wed Oct 1, 5:30 am)
[PATCH 3/4] buddy: explicitly identify buddy field use in ...
, Andy Whitcroft
, (Wed Oct 1, 5:31 am)
[PATCH 4/4] capture pages freed during direct reclaim for ...
, Andy Whitcroft
, (Wed Oct 1, 5:31 am)
Re: [PATCH 4/4] capture pages freed during direct reclaim ...
, Christoph Lameter
, (Wed Oct 1, 8:01 am)
Re: [PATCH 0/4] Reclaim page capture v4
, MinChan Kim
, (Wed Oct 1, 7:46 pm)
Re: [PATCH 0/4] Reclaim page capture v4
, KAMEZAWA Hiroyuki
, (Wed Oct 1, 11:44 pm)
Re: [PATCH 1/4] pull out the page pre-release and sanity c ...
, KAMEZAWA Hiroyuki
, (Thu Oct 2, 12:05 am)
Re: [PATCH 2/4] pull out zone cpuset and watermark checks ...
, KAMEZAWA Hiroyuki
, (Thu Oct 2, 12:05 am)
Re: [PATCH 3/4] buddy: explicitly identify buddy field use ...
, KAMEZAWA Hiroyuki
, (Thu Oct 2, 12:06 am)
Re: [PATCH 4/4] capture pages freed during direct reclaim ...
, KAMEZAWA Hiroyuki
, (Thu Oct 2, 12:24 am)
Re: [PATCH 4/4] capture pages freed during direct reclaim ...
, Andy Whitcroft
, (Thu Oct 2, 7:35 am)
Re: [PATCH 4/4] capture pages freed during direct reclaim ...
, Andy Whitcroft
, (Thu Oct 2, 8:02 am)
Re: [PATCH 0/4] Reclaim page capture v4
, Andy Whitcroft
, (Thu Oct 2, 8:04 am)
Re: Re: [PATCH 4/4] capture pages freed during direct recl ...
, kamezawa.hiroyu
, (Thu Oct 2, 8:25 am)
Re: [PATCH 4/4] capture pages freed during direct reclaim ...
, Christoph Lameter
, (Thu Oct 2, 9:29 am)
Re: [PATCH 0/4] Reclaim page capture v4
, KOSAKI Motohiro
, (Thu Oct 2, 8:25 pm)
Re: [PATCH 4/4] capture pages freed during direct reclaim ...
, KOSAKI Motohiro
, (Thu Oct 2, 8:41 pm)
Re: [PATCH 0/4] Reclaim page capture v4
, KOSAKI Motohiro
, (Thu Oct 2, 11:48 pm)
Re: [PATCH 4/4] capture pages freed during direct reclaim ...
, Christoph Lameter
, (Fri Oct 3, 5:37 am)
Re: [PATCH 0/4] Reclaim page capture v4
, MinChan Kim
, (Mon Oct 6, 9:29 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate