[CPUISOL] CPU isolation extensions

2008-01-27 Thread maxk
hoever is more appropriate Ingo maybe) can pull this patch set from git://git.kernel.org/pub/scm/linux/kernel/git/maxk/cpuisol-2.6.git That tree is rebased against latest (as of yesterday) Linus' tree. Thanx Max arch/x86/Kconfig |1 arch/x86/kernel/genapic_f

[PATCH] [CPUISOL] Support for workqueue isolation

2008-01-27 Thread maxk
From: Max Krasnyansky <[EMAIL PROTECTED]> I'm sure this one is going to be controversial for a lot of folks here. So let me explain :). What this patch is trying to address is the case when a high priority realtime (FIFO, RR) user-space thread is using 100% CPU for extended periods of time. In whi

[PATCH] [CPUISOL] Export CPU isolation bits

2008-01-27 Thread maxk
From: Max Krasnyansky <[EMAIL PROTECTED]> Here we're just exporting CPU isolation bitmap so that it can be used outside the scheduler code. Helper functions like cpu_isolated() are provided for easy access. This is very similar to cpu_online() and friends. The patch also exports 'isolated' bit vi

[PATCH] [CPUISOL] Add config options for CPU isolation

2008-01-27 Thread maxk
From: Max Krasnyansky <[EMAIL PROTECTED]> This simply adds a couple of new kconfig options for configuring CPU isolation features. Signed-off-by: Max Krasnyansky <[EMAIL PROTECTED]> --- arch/x86/Kconfig |1 + kernel/Kconfig.cpuisol | 24 2 files changed, 25 i

[PATCH] [CPUISOL] Isolated CPUs should be ignored by the "stop machine"

2008-01-27 Thread maxk
From: Max Krasnyansky <[EMAIL PROTECTED]> This patch is trying to address the same use case I explained in the previous workqueue isolation patch. Which is when a high priority realtime (FIFO, RR) user-space thread is using 100% CPU for extended periods of time. In which case stopmachine thread

[PATCH] [CPUISOL] Do not route IRQs to the CPUs isolated at boot

2008-01-27 Thread maxk
From: Max Krasnyansky <[EMAIL PROTECTED]> Most people would expect isolated CPUs to not get any IRQs by default. This happens naturally if CPU is brought off-line, marked isolated and then brought back online. Signed-off-by: Max Krasnyansky <[EMAIL PROTECTED]> --- arch/x86/kernel/genapic_flat_64