[PATCH 1/2] rcu: add rcu_access_pointer and rcu_dereference_protect
From: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> This patch adds variants of rcu_dereference() that handle situations where the RCU-protected data structure cannot change, perhaps due to our holding the update-side lock, or where the RCU-protected pointer is only to be fetched, not dereferenced. The new rcu... 7 Apr 2010 10:05
[PATCH 2/8] sched: __wake_up_locked() exported
The __wake_up_locked() function has been exported in case modules need it. Signed-off-by: Michal Nazarewicz <m.nazarewicz(a)samsung.com> Cc: Kyungmin Park <kyungmin.park(a)samsung.com> Cc: Marek Szyprowski <m.szyprowski(a)samsung.com> --- kernel/sched.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) d... 7 Apr 2010 10:05
cpuhotplug: make get_online_cpus() scalability by using percpu counter
Oleg Nesterov wrote: On 04/05, Oleg Nesterov wrote: On 04/05, Lai Jiangshan wrote: 1) get_online_cpus() must be allowed to be called recursively, so I added get_online_cpus_nest for every task for new code. Well, iirc one of the goals of cpu-hotplug: replace lock_cpu_hotplug() with get_... 12 Apr 2010 22:34
On Wed, 2010-04-07 at 14:45 +0200, Stephane Eranian wrote: LBR is configured by default to record ALL taken branches. On some processors, it is possible to filter the type of branches. This will be supported in a subsequent patch. On other processors, the sample type is ... 7 Apr 2010 13:30
[PATCH] btusb: Raw mode and ACL/SCO data
This patch allows sending ACL/SCO packets if device is in RAW mode. Previously only command packets were allowed. Signed-off-by: Kim B. Heino <Kim.Heino(a)bluegiga.com> diff -ur orig/drivers/bluetooth/btusb.c linux- --- orig/drivers/bluetooth/btusb.c 2010-04-02 02:02:33.0000000... 7 Apr 2010 10:05
[PATCH 02/12] x86/amd-iommu: Protect IOMMU-API map/unmap path
This patch introduces a mutex to lock page table updates in the IOMMU-API path. We can't use the spin_lock here because this patch might sleep. Signed-off-by: Joerg Roedel <joerg.roedel(a)amd.com> --- arch/x86/include/asm/amd_iommu_types.h | 2 ++ arch/x86/kernel/amd_iommu.c | 9 +++++++++ 2 fi... 7 Apr 2010 10:05
[PATCH 12/12] x86/gart: Disable GART explicitly before initialization
If we boot into a crash-kernel the gart might still be enabled and its caches might be dirty. This can result in undefined behavior later. Fix it by explicitly disabling the gart hardware before initialization and flushing the caches after enablement. Signed-off-by: Joerg Roedel <joerg.roedel(a)amd.com> --- arc... 7 Apr 2010 10:05
[PATCH 05/12] x86/amd-iommu: Use helper function to destroy domain
In the amd_iommu_domain_destroy the protection_domain_free function is partly reimplemented. The 'partly' is the bug here because the domain is not deleted from the domain list. This results in use-after-free errors and data-corruption. Fix it by just using protection_domain_free instead. Cc: stable(a)kernel.org ... 7 Apr 2010 08:57
[PATCH 11/12] dma-debug: Cleanup for copy-loop in filter_write()
From: Dan Carpenter <error27(a)gmail.com> Earlier in this function we set the last byte of "buf" to NULL so we always hit the break statement and "i" is never equal to NAME_MAX_LEN. This patch doesn't change how the driver works but it silences a Smatch warning and it makes it clearer that we don't write past the e... 7 Apr 2010 08:57
[PATCH 01/12] x86/amd-iommu: Remove double NULL check in check_device
From: Julia Lawall <julia(a)diku.dk> dev was tested just above, so drop the second test. Signed-off-by: Julia Lawall <julia(a)diku.dk> Signed-off-by: Joerg Roedel <joerg.roedel(a)amd.com> --- arch/x86/kernel/amd_iommu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kernel/amd... 7 Apr 2010 08:57