lkml.org 
[lkml]   [2012]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: fork_idle from wq cleanup
From
Date
On Tue, 2012-03-06 at 13:41 -0800, Venkatesh Pallipadi wrote:
> I looked at avoiding the wq stuff. But, there is no easy/clean way to do
> if as we have number of routines within copy_process assume current
> being the parent.
>
> But, we can move most of the complication out of arch code into generic code
> and share it across multiple archs. Here is the patch for that.
>
> We can easily add x86 percpu idle task on top of this cleanup (except for
> mini-circus to switch idle_task of CPU 0).
>
> Sorry. The patches for ia64, mips, powerpc and s390 are untested and are in
> "should work" category.
>
> Overall diffstat looks like
> ---
> arch/ia64/kernel/smpboot.c | 49 ++---------------------------
> arch/mips/kernel/smp.c | 47 +---------------------------
> arch/powerpc/kernel/smp.c | 63 ++++----------------------------------
> arch/s390/kernel/smp.c | 38 +++--------------------
> arch/x86/kernel/smpboot.c | 74 ++++++---------------------------------------
> include/linux/sched.h | 1
> kernel/fork.c | 48 +++++++++++++++++++++++++++++
> 7 files changed, 79 insertions(+), 241 deletions(-)
>

Looks good to me.

Reviewed-by: Suresh Siddha <suresh.b.siddha@intel.com>



\
 
 \ /
  Last update: 2012-03-07 07:09    [W:0.066 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site