linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Single zone pcpclists drain
@ 2014-10-02 15:48 Vlastimil Babka
  2014-10-02 15:48 ` [PATCH 1/4] mm: introduce single zone pcplists drain Vlastimil Babka
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vlastimil Babka @ 2014-10-02 15:48 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-mm, linux-kernel, Vlastimil Babka, Joonsoo Kim, Mel Gorman,
	Naoya Horiguchi, Rik van Riel, Vladimir Davydov, Xishi Qiu,
	Yasuaki Ishimatsu, Zhang Yanfei

This small series is an optimization of pcplists draining. In many cases, it
is sufficient to drain pcplists of a single zone, and draining all zones is
a waste of cycles, and then it results in more pcplists refilling.

Patch 1 introduces "struct zone *" parameter to drain_local_pages() and
drain_all_pages(), where NULL value means that all zones are drained as usual.
Remaining patches convert existing callers to single zone drain where
appropriate. One might wonder why compaction is not touched, and the answer
is that it will be posted later, as it's a larger change.

Vlastimil Babka (4):
  mm: introduce single zone pcplists drain
  mm, page_isolation: drain single zone pcplists
  mm, cma: drain single zone pcplists
  mm, memory_hotplug/failure: drain single zone pcplists

 include/linux/gfp.h |  4 +--
 mm/memory-failure.c |  4 +--
 mm/memory_hotplug.c |  4 +--
 mm/page_alloc.c     | 81 ++++++++++++++++++++++++++++++++++++-----------------
 mm/page_isolation.c |  2 +-
 5 files changed, 63 insertions(+), 32 deletions(-)

-- 
1.8.4.5

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-02 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-02 15:48 [PATCH 0/4] Single zone pcpclists drain Vlastimil Babka
2014-10-02 15:48 ` [PATCH 1/4] mm: introduce single zone pcplists drain Vlastimil Babka
2014-10-02 15:48 ` [PATCH 2/4] mm, page_isolation: drain single zone pcplists Vlastimil Babka
2014-10-02 15:48 ` [PATCH 3/4] mm, cma: " Vlastimil Babka
2014-10-02 15:49 ` [PATCH 4/4] mm, memory_hotplug/failure: " Vlastimil Babka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).