mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: + memory-hotplug-exclude-isolated-page-from-pco-page-alloc.patch added to -mm tree
       [not found] ` <alpine.DEB.1.10.0906291818460.21956@gentwo.org>
@ 2009-06-30  1:03   ` Shaohua Li
  0 siblings, 0 replies; only message in thread
From: Shaohua Li @ 2009-06-30  1:03 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: akpm, linux-mm, linux-kernel, mel, Zhao, Yakui

On Tue, Jun 30, 2009 at 06:20:00AM +0800, Christoph Lameter wrote:
> On Mon, 29 Jun 2009, akpm@linux-foundation.org wrote:
> 
> > Pages marked as isolated should not be allocated again.  If such pages
> > reside in pcp list, they can be allocated too, so there is a ping-pong
> > memory offline frees some pages to pcp list and the pages get allocated
> > and then memory offline frees them again, this loop will happen again and
> > again.
> 
> Isolated pages are freed? Could they not be kept on a separate
> list with refcount elevated until the isolation procedure is complete?
Yes, they can be freed and add into pcp list. Moving them to a separate list
is feasible, but the approach is more intrusive to me. As I explained in the
patch, adding check in buffered_rmqueue() should hasn't impact for normal path.

Thanks,
Shaohua

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-30  1:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200906291949.n5TJnrsO028716@imap1.linux-foundation.org>
     [not found] ` <alpine.DEB.1.10.0906291818460.21956@gentwo.org>
2009-06-30  1:03   ` + memory-hotplug-exclude-isolated-page-from-pco-page-alloc.patch added to -mm tree Shaohua Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®