perf, x86: implement AMD IBS event configuration
On 19.04.10 15:46:29, Stephane Eranian wrote: +static inline void amd_pmu_disable_ibs(void) +{ + � � � struct cpu_hw_events *cpuc = &__get_cpu_var(cpu_hw_events); + � � � u64 val; + + � � � if (test_bit(X86_PMC_IDX_SPECIAL_IBS_FETCH, cpuc->active_mask)) { + � � � � � � � rdmsrl(MSR_AM... 11 May 2010 10:03
[PATCH 1/2] NFSv4: Fix the locking in nfs_inode_reclaim_delegation()
From: Trond Myklebust <Trond.Myklebust(a)netapp.com> Ensure that we correctly rcu-dereference the delegation itself, and that we protect against removal while we're changing the contents. Signed-off-by: Trond Myklebust <Trond.Myklebust(a)netapp.com> Signed-off-by: David Howells <dhowells(a)redhat.com> --- fs/nfs... 20 Apr 2010 16:07
[PATCH] KEYS: Fix an RCU warning
Fix the following RCU warning: =================================================== [ INFO: suspicious rcu_dereference_check() usage. ] --------------------------------------------------- security/keys/request_key.c:116 invoked rcu_dereference_check() without protection! other info that might help us debug this... 20 Apr 2010 16:07
uml: Clean up asm/system.h
On Mon, Apr 19, 2010 at 11:53:08PM +0200, Jan Kiszka wrote: Remove duplicates and unused prototypes. Signed-off-by: Jan Kiszka <jan.kiszka(a)web.de> Acked-by: WANG Cong <xiyou.wangcong(a)gmail.com> --- arch/um/include/asm/system.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff -... 20 Apr 2010 16:09
rcu: shrink rcutiny by making synchronize_rcu_bh() be inline
Does it make sense for synchronize_sched() to be inline too? Since that's just a wrapper around cond_resched(), which is normally just a wrapper around _cond_resched(). Otherwise: Acked-by: David Howells <dhowells(a)redhat.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th... 20 Apr 2010 16:07
rcu: slim down rcutiny by removing rcu_scheduler_active and friends
Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> wrote: +void rcu_scheduler_starting(void) +{ + WARN_ON(nr_context_switches() > 0); + rcu_scheduler_active = 1; +} Since rcu_scheduler_active is a global variable, does it make sense to make this an inline function in the header file? It looks decided... 20 Apr 2010 16:07
request_firmware API exhaust memory
Lately we've been developing a device that rather more extensively used request_firmware API in load and also using pm_notifiers to load firmware. In some stress testing the usage will exhaust the system memory. First we suspected there is a memory leak in the firwmare_class but eventually what is that udevd piles... 28 Apr 2010 09:28
uml: i386: Avoid redefinition of NR_syscalls
On Mon, Apr 19, 2010 at 11:53:07PM +0200, Jan Kiszka wrote: The i386 subarch happens to pull in original NR_syscalls. Maybe we can make that work for all host arch, but for now just avoid the clash by using an all-upper-case name. Where? Signed-off-by: Jan Kiszka <jan.kiszka(a)web.de> --- arch/um/k... 10 May 2010 17:40
uml: Fix warning due to missing task_struct declaration
On Mon, Apr 19, 2010 at 11:53:06PM +0200, Jan Kiszka wrote: We can't pull in linux/sched.h, so just declare the struct. Did you meet any build error? If yes, please include it. Thanks. Signed-off-by: Jan Kiszka <jan.kiszka(a)web.de> --- arch/um/sys-i386/asm/elf.h | 2 ++ arch/um/sys-x86_64/... 23 Apr 2010 21:12
[PATCH 2/2] ehea: fix possible DLPAR/mem deadlock
Force serialization of userspace-triggered DLPAR/mem operations Signed-off-by: Thomas Klein <tklein(a)de.ibm.com> --- Patch created against 2.6.34-rc4 diff -Nurp linux-2.6.34-rc4.orig//drivers/net/ehea/ehea.h linux-2.6.34-rc4//drivers/net/ehea/ehea.h --- linux-2.6.34-rc4.orig//drivers/net/ehea/ehea.h 2010-04-1... 20 Apr 2010 16:07