+ mm-make-lru_add_drain_all-selective.patch added to -mm tree
Subsystems (2)
[email protected]
maintainerSubject: + mm-make-lru_add_drain_all-selective.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 14 Aug 2013 14:13:03 -0700
The patch titled
Subject: mm: make lru_add_drain_all() selective
has been added to the -mm tree. Its filename is
mm-make-lru_add_drain_all-selective.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-make-lru_add_drain_all-selective.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-make-lru_add_drain_all-selective.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Chris Metcalf <[email protected]>
Subject: mm: make lru_add_drain_all() selective
make lru_add_drain_all() only selectively interrupt the cpus that have per-cpu free pages that can be drained.
This is important in nohz mode where calling mlockall(), for example, otherwise will interrupt every core unnecessarily.
This is important on workloads where nohz cores are handling 10 Gb traffic in userspace. Those CPUs do not enter the kernel and place pages into LRU pagevecs and they really, really don't want to be interrupted, or they drop packets on the floor.
---
include/linux/swap.h | 2 - mm/swap.c | 44 ++++++++++++++++++++++++++++++++++++----- 2 files changed, 40 insertions(+), 6 deletions(-)
include/linux/swap.h renamed from include/linux/swap.h~mm-make-lru_add_drain_all-selective +1 -1
@@ -280,7 +280,7 @@ extern void activate_page(struct page *)extern void mark_page_accessed (struct page *);extern void lru_add_drain (void );extern void lru_add_drain_cpu (int cpu); -extern int lru_add_drain_all (void ); +extern void lru_add_drain_all (void );extern void rotate_reclaimable_page (struct page *page);extern void deactivate_page (struct page *page);extern void swap_setup (void );
mm/swap.c renamed from mm/swap.c~mm-make-lru_add_drain_all-selective +39 -5
63 lines not on this page · raw message
_
Patches currently in -mm which might be from [email protected] are
kernel-smpc-quit-unconditionally-enabling-irqs-in-on_each_cpu_mask.patch linux-next.patch
mm-make-lru_add_drain_all-selective.patch