Re: [RFC PATCH 1/1] fair.c: Add/Export find_idlest_perfer_cpu API

2012-08-27 Thread Shirley Ma
On Tue, 2012-08-21 at 09:07 +0200, Peter Zijlstra wrote: > On Mon, 2012-08-20 at 15:17 -0700, Shirley Ma wrote: > > On Mon, 2012-08-20 at 14:00 +0200, Peter Zijlstra wrote: > > > On Fri, 2012-08-17 at 12:46 -0700, Shirley Ma wrote: > > > > Add/Export a new API for per-cpu thread model networking de

Re: [RFC PATCH 1/1] fair.c: Add/Export find_idlest_perfer_cpu API

2012-08-21 Thread Peter Zijlstra
On Mon, 2012-08-20 at 15:17 -0700, Shirley Ma wrote: > On Mon, 2012-08-20 at 14:00 +0200, Peter Zijlstra wrote: > > On Fri, 2012-08-17 at 12:46 -0700, Shirley Ma wrote: > > > Add/Export a new API for per-cpu thread model networking device > > driver > > > to choose a preferred idlest cpu within all

Re: [RFC PATCH 1/1] fair.c: Add/Export find_idlest_perfer_cpu API

2012-08-20 Thread Shirley Ma
On Mon, 2012-08-20 at 14:00 +0200, Peter Zijlstra wrote: > On Fri, 2012-08-17 at 12:46 -0700, Shirley Ma wrote: > > Add/Export a new API for per-cpu thread model networking device > driver > > to choose a preferred idlest cpu within allowed cpumask. > > > > The receiving CPUs of a networking devic

Re: [RFC PATCH 1/1] fair.c: Add/Export find_idlest_perfer_cpu API

2012-08-20 Thread Peter Zijlstra
On Fri, 2012-08-17 at 12:46 -0700, Shirley Ma wrote: > Add/Export a new API for per-cpu thread model networking device driver > to choose a preferred idlest cpu within allowed cpumask. > > The receiving CPUs of a networking device are not under cgroup controls. > Normally the receiving work will b

[RFC PATCH 1/1] fair.c: Add/Export find_idlest_perfer_cpu API

2012-08-17 Thread Shirley Ma
Add/Export a new API for per-cpu thread model networking device driver to choose a preferred idlest cpu within allowed cpumask. The receiving CPUs of a networking device are not under cgroup controls. Normally the receiving work will be scheduled on the cpu on which the interrupts are received. Wh