[PATCH 02/14] mm,migration: Do not try to migrate unmapped anonymous pages
rmap_walk_anon() was triggering errors in memory compaction that look like use-after-free errors. The problem is that between the page being isolated from the LRU and rcu_read_lock() being taken, the mapcount of the page dropped to 0 and the anon_vma gets freed. This can happen during memory compaction if pages bei... 2 Apr 2010 12:37
[PATCH 14/14] mm,migration: Allow the migration of PageSwapCache pages
PageAnon pages that are unmapped may or may not have an anon_vma so are not currently migrated. However, a swap cache page can be migrated and fits this description. This patch identifies page swap caches and allows them to be migrated but ensures that no attempt to made to remap the pages would would potentially t... 2 Apr 2010 12:36
[PATCH 07/14] Move definition for LRU isolation modes to a header
Currently, vmscan.c defines the isolation modes for __isolate_lru_page(). Memory compaction needs access to these modes for isolating pages for migration. This patch exports them. Signed-off-by: Mel Gorman <mel(a)csn.ul.ie> Acked-by: Christoph Lameter <cl(a)linux-foundation.org> --- include/linux/swap.h | 5 ++... 2 Apr 2010 12:36
regulator: regulator_get behaviour without CONFIG_REGULATOR set
Hi, Working on drivers/hwmon/sht15.c, I noticed it would return bogus temperatures in my case, where CONFIG_REGULATOR is not set. This is due to the following section in drivers/hwmon/sht15.c: /* If a regulator is available, query what the supply voltage actually is!*/ data->reg = regulator_get(data->... 6 Apr 2010 15:19
mm: preemptibility
On Fri, Apr 02, 2010 at 04:16:01PM +0200, Peter Zijlstra wrote: Hi, This (incomplete) patch-set makes part of the mm a lot more preemptible. It converts i_mmap_lock and anon_vma->lock to mutexes. On the way there it also makes mmu_gather preemptible. The main motivation was making mm_take_all_loc... 2 Apr 2010 11:30
[PATCH 5/7] mutex: Provide mutex_is_contended
Usable for lock-breaks and such. Signed-off-by: Peter Zijlstra <a.p.zijlstra(a)chello.nl> --- include/linux/mutex.h | 5 +++++ 1 file changed, 5 insertions(+) Index: linux-2.6/include/linux/mutex.h =================================================================== --- linux-2.6.orig/include/linux/mutex.h ... 2 Apr 2010 11:30
[PATCH 7/7] mm: Optimize page_lock_anon_vma
Optimize page_lock_anon_vma() by removing the atomic ref count ops from the fast path. Rather complicates the code a lot, but might be worth it. Signed-off-by: Peter Zijlstra <a.p.zijlstra(a)chello.nl> --- mm/rmap.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 61 inser... 2 Apr 2010 11:30
mfd: Clean up after WM83xx AUXADC interrupt if it arrives late
Hi Mark, On Fri, Apr 02, 2010 at 01:08:39PM +0100, Mark Brown wrote: In certain circumstances, especially under heavy load, the AUXADC completion interrupt may be detected after we've timed out waiting for it. That conversion would still succeed but the next conversion will see the completion that was s... 2 Apr 2010 10:23
TPS6507x MFD driver
Hi Todd, On Fri, Mar 26, 2010 at 02:11:27PM -0600, Todd Fischer wrote: The TPS6507x family of Texas Instruments power management ICs (pmic) are multi-function chips that include voltage regulation and touch screen controller capabilities. This patch set adds a TPS6507x multi-function device drive... 2 Apr 2010 10:23
[PATCH 1/3] arch/powerpc/platforms: Eliminate use after free
From: Julia Lawall <julia(a)diku.dk> dlpar_free_cc_nodes frees its argument, so dlpar_online_cpu should not be called on the same value. Skip over the call to dlpar_online_cpu by jumping directly to out. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr... 2 Apr 2010 09:17