[PATCH 06/10] rwsem: smaller wrappers around rwsem_down_failed_common
More code can be pushed from rwsem_down_read_failed and rwsem_down_write_failed into rwsem_down_failed_common. Following change adding down_read_unfair infrastructure support also enjoys having flags available in a register rather than having to fish it out in the struct rwsem_waiter... Signed-off-by: Michel L... 17 May 2010 19:07
[PATCH 02/10] rwsem: fully separate code pathes to wake writers vs readers
This is in preparation to later changes in the series. In __rwsem_do_wake(), the first queued waiter is checked first in order to determine whether it's a writer or a reader. The code paths diverge at this point. The code that checks and incremetns the rwsem active count is duplicated on both sides - the point is... 17 May 2010 19:07
[PATCH 04/10] rwsem: let RWSEM_WAITING_BIAS represent any number of waiting threads
Previously each waiting thread added a bias of RWSEM_WAITING_BIAS. With this change, the bias is added only once when the wait list is non-empty. This has a few nice properties which will be used in following changes: - when the spinlock is held and the waiter list is known to be non-empty, count < RWSEM_WAITIN... 17 May 2010 19:07
[PATCH 03/10] rwsem: lighter active count checks when waking up readers
In __rwsem_do_wake(), we can skip the active count check unless we come there from up_xxxx(). Also when checking the active count, it is not actually necessary to increment it; this allows us to get rid of the read side undo code and simplify the calculation of the final rwsem count adjustment once we've counted th... 17 May 2010 19:07
[PATCH 08/10] rwsem: down_read_critical infrastructure support
Add rwsem_down_read_unfair_failed() function in the non-generic rwsem library code, similar to rwsem_down_read_failed() except that blocked threads are placed at the head of the queue. Signed-off-by: Michel Lespinasse <walken(a)google.com> --- lib/rwsem.c | 22 +++++++++++++++++++++- 1 files changed, 21 inser... 17 May 2010 19:07
[PATCH 3/3] [watchdog] re-introduce support for nmi_watchdog, nosoftlockup
These options broke during this rewrite. The previous patch cleaned up the internals. This patch actually uses those changes to allow one to properly use nmi_watchdog=0 and nosoftlockup from the kernel commandline and the bash shell. The downside of these changes is I removed the global option of 'watchdog' th... 17 May 2010 19:07
core/hweight changes for v2.6.35
On Mon, 17 May 2010, Ingo Molnar wrote: +#ifdef CONFIG_64BIT +/* popcnt %rdi, %rax */ +#define POPCNT ".byte 0xf3,0x48,0x0f,0xb8,0xc7" +#define REG_IN "D" +#define REG_OUT "a" .... +/* + * __sw_hweightXX are called from within the alternatives below + * and callee-clobbered registers nee... 17 May 2010 19:07
[PATCH V3] input: Default to only using PNP for i8042 probing on x86
Experimenting with Windows has revealed that it will not probe the keyboard controller unless a valid PNPACPI device is present. Change our behaviour to match - users can override by using the existing i8042.nopnp=1 parameter. Signed-off-by: Matthew Garrett <mjg(a)redhat.com> --- drivers/input/serio/i8042-x86ia6... 17 May 2010 18:00
[GIT PULL] core/debugobjects cleanup for v2.6.35
Linus, Please pull the latest core-debugobjects-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-debugobjects-for-linus Thanks, Ingo ------------------> Henrik Kretzschmar (1): debugobjects: Section mismatch cleanup lib/debugobjects.c | ... 17 May 2010 18:00
[tip:perf/core] perf symbols: symbol inconsistency message should be done only at verbose=1
Commit-ID: 2f51903bc3139e25ec908f8944a0001c7b868e90 Gitweb: http://git.kernel.org/tip/2f51903bc3139e25ec908f8944a0001c7b868e90 Author: Arnaldo Carvalho de Melo <acme(a)redhat.com> AuthorDate: Mon, 17 May 2010 17:57:59 -0300 Committer: Arnaldo Carvalho de Melo <acme(a)redhat.com> CommitDate: Mon, 17 May 2010 ... 17 May 2010 18:00