linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] sched: Add a new API to find the prefer idlest cpu
@ 2012-07-23  6:57 Shirley Ma
  2012-07-23  6:59 ` [RFC PATCH 1/1] " Shirley Ma
  2012-08-17 15:39 ` [RFC PATCH 0/1] " Shirley Ma
  0 siblings, 2 replies; 5+ messages in thread
From: Shirley Ma @ 2012-07-23  6:57 UTC (permalink / raw)
  To: linux-kernel, netdev; +Cc: Michael S. Tsirkin, vivek, sri

Introduce a new API to choose per-cpu thread from cgroup control cpuset
(allowed) and preferred cpuset (local numa-node).

The receiving cpus of a networking device are not under cgroup controls.
When such a networking device uses per-cpu thread model, the cpu which
is chose to process the packets might not be part of cgroup cpusets
without this API. On numa system, the preferred cpusets would help to
reduce expensive cross memory access to/from the other node.

Signed-off-by: Shirley Ma <xma@us.ibm.com>
---

 include/linux/sched.h |    2 ++
 kernel/sched/fair.c   |   30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 0 deletions(-)

Thanks
Shirley




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

end of thread, other threads:[~2012-08-17 16:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-23  6:57 [RFC PATCH 0/1] sched: Add a new API to find the prefer idlest cpu Shirley Ma
2012-07-23  6:59 ` [RFC PATCH 1/1] " Shirley Ma
2012-08-17 15:39 ` [RFC PATCH 0/1] " Shirley Ma
2012-08-17 16:48   ` Peter Zijlstra
2012-08-17 16:58     ` Shirley Ma

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).