LWN.net Logo

Per cpu thread hotplug infrastructure

From:  Thomas Gleixner <tglx@linutronix.de>
To:  LKML <linux-kernel@vger.kernel.org>
Subject:  [RFC patch V2 0/7] Per cpu thread hotplug infrastructure
Date:  Fri, 15 Jun 2012 14:13:19 -0000
Message-ID:  <20120615140217.933711648@linutronix.de>
Cc:  Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@kernel.org>, "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>, Rusty Russell <rusty@rustcorp.com.au>, "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>, Tejun Heo <tj@kernel.org>
Archive-link:  Article, Thread

The following series implements the infrastructure for parking and
unparking kernel threads to avoid the full teardown and fork on cpu
hotplug operations along with management infrastructure for hotplug
and users.

Changes since V1:

 - Addressed the review comments
 - Fixed a missing state update in parkme (reported by Paul)
 - Simplified rcu_yield()
 - Added Pauls RCU conversion

Full diffstat below. Due to the RCU cleanup we now remove more code
than we add. :)

Thanks,

	tglx
---
 drivers/infiniband/hw/ehca/ehca_irq.c |  240 ++++++++-------------
 drivers/infiniband/hw/ehca/ehca_irq.h |    5 
 include/linux/kthread.h               |   11 
 include/linux/smpboot.h               |   40 +++
 kernel/cpu.c                          |   10 
 kernel/kthread.c                      |  184 ++++++++++++++--
 kernel/rcutree.c                      |   12 -
 kernel/rcutree.h                      |   15 -
 kernel/rcutree_plugin.h               |  375 +++++-----------------------------
 kernel/rcutree_trace.c                |    3 
 kernel/smpboot.c                      |  206 ++++++++++++++++++
 kernel/smpboot.h                      |    4 
 kernel/softirq.c                      |   84 +------
 kernel/watchdog.c                     |  232 ++++++---------------
 14 files changed, 678 insertions(+), 743 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds