Re: [merged] mm-fix-potential-data-race-in-sys_swapon.patch removed from -mm tree

2015-08-28 Thread Mel Gorman
be able to limit the scope of the lock further and still avoid the use of i_mutex. -- Mel Gorman SUSE Labs -- To unsubscribe from this list: send the line unsubscribe stable in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 3.14 102/122] mm + fs: prepare for non-page entries in page cache radix trees

2014-11-20 Thread Mel Gorman
even though the thrash-detection stuff was not backported. It could have been backported without it but then the patches would look much different from their mainline equivalent. -- Mel Gorman SUSE Labs -- To unsubscribe from this list: send the line unsubscribe stable in the body of a message

Re: [PATCH v5 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-11-14 Thread Mel Gorman
-mostly fields. -- Mel Gorman SUSE Labs -- To unsubscribe from this list: send the line unsubscribe stable in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 08/97] mm, thp: do not allow thp faults to avoid cpuset restrictions

2014-10-13 Thread Mel Gorman
On Fri, Sep 26, 2014 at 11:53:14AM +0200, Jiri Slaby wrote: On 08/28/2014, 08:34 PM, Mel Gorman wrote: From: David Rientjes rient...@google.com commit b104a35d32025ca740539db2808aa3385d0f30eb upstream. The page allocator relies on __GFP_WAIT to determine if ALLOC_CPUSET should

Re: FAILED: patch [PATCH] mm: numa: Do not mark PTEs pte_numa when splitting huge pages failed to apply to 3.16-stable tree

2014-10-06 Thread Mel Gorman
@vger.kernel.org. thanks, greg k-h -- original commit in Linus's tree -- From abc40bd2eeb77eb7c2effcaf63154aad929a1d5f Mon Sep 17 00:00:00 2001 From: Mel Gorman mgor...@suse.de Date: Thu, 2 Oct 2014 19:47:42 +0100 Subject: [PATCH] mm: numa: Do not mark PTEs

[PATCH 00/97] Misc series of functional/performance fixes for 3.12-stable

2014-08-28 Thread Mel Gorman
() mm: __rmqueue_fallback() should respect pageblock type Linus Torvalds (1): mm: don't pointlessly use BUG_ON() for sanity check Mel Gorman (30): mm, x86: Account for TLB flushes only when debugging x86/mm: Clean up inconsistencies when flushing TLB ranges x86/mm: Eliminate redundant page

[PATCH 04/97] mm: prevent setting of a value less than 0 to min_free_kbytes

2014-08-28 Thread Mel Gorman
...@google.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/page_alloc.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c

[PATCH 01/97] mm: thp: cleanup: mv alloc_hugepage to better place

2014-08-28 Thread Mel Gorman
A. Shutemov kirill.shute...@linux.intel.com Cc: Andrea Arcangeli aarca...@redhat.com Cc: Mel Gorman m...@csn.ul.ie Cc: Andrew Davidoff david...@qedmf.net Cc: Wanpeng Li liw...@linux.vnet.ibm.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux

[PATCH 97/97] mm: page_alloc: reduce cost of the fair zone allocation policy

2014-08-28 Thread Mel Gorman
still completed faster and intuitively it makes sense to take as few passes as possible through the zonelists. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux

[PATCH 95/97] mm: vmscan: only update per-cpu thresholds for online CPU

2014-08-28 Thread Mel Gorman
to be updated. If a new CPU is onlined, refresh_zone_stat_thresholds() will set the thresholds correctly. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux

[PATCH 87/97] mm/memory.c: use entry = ACCESS_ONCE(*pte) in handle_pte_fault()

2014-08-28 Thread Mel Gorman
Torvalds torva...@linux-foundation.org Cc: Kirill A. Shutemov kirill.shute...@linux.intel.com Cc: Konstantin Khlebnikov koc...@gmail.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de

[PATCH 86/97] shmem: fix init_page_accessed use to stop !PageLRU bug

2014-08-28 Thread Mel Gorman
accessed, consider this as rectifying an oversight. Signed-off-by: Hugh Dickins hu...@google.com Acked-by: Mel Gorman mgor...@suse.de Cc: Johannes Weiner han...@cmpxchg.org Cc: Vlastimil Babka vba...@suse.cz Cc: Michal Hocko mho...@suse.cz Cc: Dave Hansen dave.han...@intel.com Cc: Prabhakar Lad

[PATCH 85/97] mm: avoid unnecessary atomic operations during end_page_writeback()

2014-08-28 Thread Mel Gorman
0.7428 vmlinux-3.15.0-rc5-mmotm-20140513 end_page_writeback 23740 0.2409 vmlinux-3.15.0-rc5-lessatomic end_page_writeback Signed-off-by: Mel Gorman mgor...@suse.de Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off

[PATCH 89/97] mm: make copy_pte_range static again

2014-08-28 Thread Mel Gorman
. This patch makes copy_pte_range() static again. Signed-off-by: Jerome Marchand jmarc...@redhat.com Acked-by: David Rientjes rient...@google.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor

[PATCH 96/97] mm: page_alloc: abort fair zone allocation policy when remotes nodes are encountered

2014-08-28 Thread Mel Gorman
this by skipping zones on remote nodes until the lower one is found. While this makes sense from a page aging and performance perspective, it breaks the expected zonelist policy. This patch restores the expected behaviour for zone-list ordering. Signed-off-by: Mel Gorman mgor...@suse.de Acked

[PATCH 94/97] mm: move zone-pages_scanned into a vmstat counter

2014-08-28 Thread Mel Gorman
vanillarearrange-v5 vmstat-v5 User 746.94 759.78 774.56 System 65336.2258350.9832847.27 Elapsed 27553.5227282.0227415.04 Note that the overhead reduction will vary depending on where exactly pages are allocated and freed. Signed-off-by: Mel Gorman mgor

[PATCH 88/97] mm, thp: only collapse hugepages to nodes with affinity for zone_reclaim_mode

2014-08-28 Thread Mel Gorman
Gorman mgor...@suse.de Cc: Rik van Riel r...@redhat.com Cc: Kirill A. Shutemov kirill.shute...@linux.intel.com Cc: Bob Liu bob@oracle.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de

[PATCH 93/97] mm: rearrange zone fields into read-only, page alloc, statistics and page reclaim lines

2014-08-28 Thread Mel Gorman
is reduced by this patch. 3.16.0-rc3 3.16.0-rc3 vanillarearrange-v5r9 User 746.94 759.78 System 65336.2258350.98 Elapsed 27553.5227282.02 Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org Signed-off

[PATCH 92/97] mm: pagemap: avoid unnecessary overhead when tracepoints are deactivated

2014-08-28 Thread Mel Gorman
is active. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- include/trace/events/pagemap.h | 16

[PATCH 90/97] vmalloc: use rcu list iterator to reduce vmap_area_lock contention

2014-08-28 Thread Mel Gorman
a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/vmalloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index e2be0f8..060dc36 100644 --- a/mm/vmalloc.c +++ b

[PATCH 91/97] memcg, vmscan: Fix forced scan of anonymous pages

2014-08-28 Thread Mel Gorman
Acked-by: Johannes Weiner han...@cmpxchg.org Reviewed-by: Rik van Riel r...@redhat.com Cc: Mel Gorman mgor...@suse.de Signed-off-by: Johannes Weiner han...@cmpxchg.org Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel

[PATCH 74/97] mm: page_alloc: only check the alloc flags and gfp_mask for dirty once

2014-08-28 Thread Mel Gorman
commit a6e21b14f22041382e832d30deda6f26f37b1097 upstream. Currently it's calculated once per zone in the zonelist. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org Reviewed-by: Rik van Riel r...@redhat.com Cc: Vlastimil Babka vba...@suse.cz Cc: Jan Kara j

[PATCH 72/97] mm: page_alloc: calculate classzone_idx once from the zonelist ref

2014-08-28 Thread Mel Gorman
commit d8846374a85f4290a473a4e2a64c1ba046c4a0e1 upstream. There is no need to calculate zone_idx(preferred_zone) multiple times or use the pgdat to figure it out. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rik van Riel r...@redhat.com Acked-by: David Rientjes rient...@google.com Cc

[PATCH 81/97] mm: do not use atomic operations when releasing pages

2014-08-28 Thread Mel Gorman
commit e3741b506c5088fa8c911bb5884c430f770fb49d upstream. There should be no references to it any more and a parallel mark should not be reordered against us. Use non-locked varient to clear page active. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rik van Riel r...@redhat.com Cc

[PATCH 77/97] mm: page_alloc: reduce number of times page_to_pfn is called

2014-08-28 Thread Mel Gorman
commit dc4b0caff24d9b2918e9f27bc65499ee63187eba upstream. In the free path we calculate page_to_pfn multiple times. Reduce that. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rik van Riel r...@redhat.com Cc: Johannes Weiner han...@cmpxchg.org Acked-by: Vlastimil Babka vba...@suse.cz Cc

[PATCH 70/97] include/linux/jump_label.h: expose the reference count

2014-08-28 Thread Mel Gorman
...@infradead.org Signed-off-by: Mel Gorman mgor...@suse.de Cc: Johannes Weiner han...@cmpxchg.org Cc: Vlastimil Babka vba...@suse.cz Cc: Jan Kara j...@suse.cz Cc: Michal Hocko mho...@suse.cz Cc: Hugh Dickins hu...@google.com Cc: Dave Hansen dave.han...@intel.com Cc: Theodore Ts'o ty...@mit.edu Cc: Paul E

[PATCH 79/97] mm: page_alloc: lookup pageblock migratetype with IRQs enabled during free

2014-08-28 Thread Mel Gorman
commit cfc47a2803db42140167b92d991ef04018e162c7 upstream. get_pageblock_migratetype() is called during free with IRQs disabled. This is unnecessary and disables IRQs for longer than necessary. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rik van Riel r...@redhat.com Cc: Johannes Weiner

[PATCH 76/97] mm: page_alloc: use unsigned int for order in more places

2014-08-28 Thread Mel Gorman
. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rik van Riel r...@redhat.com Cc: Johannes Weiner han...@cmpxchg.org Cc: Vlastimil Babka vba...@suse.cz Cc: Jan Kara j...@suse.cz Cc: Michal Hocko mho...@suse.cz Cc: Hugh Dickins hu...@google.com Cc: Dave Hansen dave.han...@intel.com Cc: Theodore

[PATCH 82/97] mm: do not use unnecessary atomic operations when adding pages to the LRU

2014-08-28 Thread Mel Gorman
is that that the page may be promoted to the active list that might have been left on the inactive list before the patch. It's too tiny a race and too marginal a consequence to always use atomic operations for. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org Cc: Vlastimil Babka

[PATCH 80/97] mm: shmem: avoid atomic operation during shmem_getpage_gfp

2014-08-28 Thread Mel Gorman
commit 07a427884348d38a6fd56fa4d78249c407196650 upstream. shmem_getpage_gfp uses an atomic operation to set the SwapBacked field before it's even added to the LRU or visible. This is unnecessary as what could it possible race against? Use an unlocked variant. Signed-off-by: Mel Gorman mgor

[PATCH 75/97] mm: page_alloc: take the ALLOC_NO_WATERMARK check out of the fast path

2014-08-28 Thread Mel Gorman
...@mit.edu Cc: Paul E. McKenney paul...@linux.vnet.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc: Peter Zijlstra pet...@infradead.org Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm

[PATCH 73/97] mm: page_alloc: only check the zone id check if pages are buddies

2014-08-28 Thread Mel Gorman
overlap. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org Acked-by: Rik van Riel r...@redhat.com Cc: Vlastimil Babka vba...@suse.cz Cc: Jan Kara j...@suse.cz Cc: Michal Hocko mho...@suse.cz Cc: Hugh Dickins hu...@google.com Cc: Dave Hansen dave.han...@intel.com

[PATCH 83/97] fs: buffer: do not use unnecessary atomic operations when discarding buffers

2014-08-28 Thread Mel Gorman
. [a...@linux-foundation.org: move BUFFER_FLAGS_DISCARD into the .c file] Signed-off-by: Mel Gorman mgor...@suse.de Cc: Johannes Weiner han...@cmpxchg.org Cc: Vlastimil Babka vba...@suse.cz Cc: Jan Kara j...@suse.cz Cc: Michal Hocko mho...@suse.cz Cc: Hugh Dickins hu...@google.com Cc: Dave Hansen

[PATCH 78/97] mm: page_alloc: convert hot/cold parameter and immediate callers to bool

2014-08-28 Thread Mel Gorman
commit b745bc85f21ea707e4ea1a91948055fa3e72c77b upstream. cold is a bool, make it one. Make the likely case the if part of the block instead of the else as according to the optimisation manual this is preferred. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Rik van Riel r...@redhat.com Cc

[PATCH 84/97] mm: non-atomically mark page accessed during page cache allocation where possible

2014-08-28 Thread Mel Gorman
] Signed-off-by: Mel Gorman mgor...@suse.de Cc: Johannes Weiner han...@cmpxchg.org Cc: Vlastimil Babka vba...@suse.cz Cc: Jan Kara j...@suse.cz Cc: Michal Hocko mho...@suse.cz Cc: Hugh Dickins hu...@google.com Cc: Dave Hansen dave.han...@intel.com Cc: Theodore Ts'o ty...@mit.edu Cc: Paul E. McKenney

[PATCH 71/97] mm: page_alloc: use jump labels to avoid checking number_of_cpusets

2014-08-28 Thread Mel Gorman
commit 664eeddeef6539247691197c1ac124d4aa872ab6 upstream. If cpusets are not in use then we still check a global variable on every page allocation. Use jump labels to avoid the overhead. Signed-off-by: Mel Gorman mgor...@suse.de Reviewed-by: Rik van Riel r...@redhat.com Cc: Johannes Weiner han

[PATCH 63/97] fs/superblock: unregister sb shrinker before -kill_sb()

2014-08-28 Thread Mel Gorman
...@zeniv.linux.org.uk Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- fs/super.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/super.c b/fs/super.c index d127de2

[PATCH 66/97] mm/page_alloc: prevent MIGRATE_RESERVE pages from being misplaced

2014-08-28 Thread Mel Gorman
...@suse.cz Reported-by: Yong-Taek Lee ytk@samsung.com Reported-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Suggested-by: Joonsoo Kim iamjoonsoo@lge.com Acked-by: Joonsoo Kim iamjoonsoo@lge.com Suggested-by: Mel Gorman mgor...@suse.de Acked-by: Minchan Kim minc...@kernel.org Cc

[PATCH 69/97] mm: page_alloc: do not treat a zone that cannot be used for dirty pages as full

2014-08-28 Thread Mel Gorman
commit 800a1e750c7b04c2aa2459afca77e936e01c0029 upstream. If a zone cannot be used for a dirty page then it gets marked full which is cached in the zlc and later potentially skipped by allocation requests that have nothing to do with dirty zones. Signed-off-by: Mel Gorman mgor...@suse.de Acked

[PATCH 68/97] mm: page_alloc: do not update zlc unless the zlc is active

2014-08-28 Thread Mel Gorman
line it's deceptively expensive and most machines will not care. Only update the zlc if it was active. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org Reviewed-by: Rik van Riel r...@redhat.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off

[PATCH 65/97] mm: vmscan: use proportional scanning during direct reclaim and full scan at DEF_PRIORITY

2014-08-28 Thread Mel Gorman
writes anon 43945891 Note that there are fewer allocation stalls even though the amount of direct reclaim scanning is very approximately the same. Signed-off-by: Mel Gorman mgor...@suse.de Cc: Johannes Weiner han...@cmpxchg.org Cc: Hugh Dickins hu...@google.com Cc: Tim Chen

[PATCH 62/97] mm: fix direct reclaim writeback regression

2014-08-28 Thread Mel Gorman
, especially not with memcg cleanups coming in 3.17. Reported-by: Dave Jones da...@redhat.com Signed-off-by: Hugh Dickins hu...@google.com Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/migrate.c | 5 +++-- 1 file changed, 3 insertions

[PATCH 64/97] fs/superblock: avoid locking counting inodes and dentries before reclaiming them

2014-08-28 Thread Mel Gorman
%) Signed-off-by: Tim Chen tim.c.c...@linux.intel.com Signed-off-by: Mel Gorman mgor...@suse.de Cc: Johannes Weiner han...@cmpxchg.org Cc: Hugh Dickins hu...@google.com Cc: Dave Chinner da...@fromorbit.com Tested-by: Yuanhan Liu yuanhan@linux.intel.com Cc: Bob Liu bob@oracle.com Cc: Jan Kara j

[PATCH 67/97] mm/swap.c: clean up *lru_cache_add* functions

2014-08-28 Thread Mel Gorman
iamjoonsoo@lge.com Cc: Rafael Aquini aqu...@redhat.com Cc: Mel Gorman mgor...@suse.de Acked-by: Rik van Riel r...@redhat.com Cc: Andrea Arcangeli aarca...@redhat.com Cc: Khalid Aziz khalid.a...@oracle.com Cc: Christoph Hellwig h...@lst.de Reviewed-by: Zhang Yanfei zhangyan...@cn.fujitsu.com

[PATCH 52/97] mm/compaction: cleanup isolate_freepages()

2014-08-28 Thread Mel Gorman
Kim minc...@kernel.org Cc: Mel Gorman mgor...@suse.de Cc: Joonsoo Kim iamjoonsoo@lge.com Cc: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Cc: Michal Nazarewicz min...@mina86.com Cc: Naoya Horiguchi n-horigu...@ah.jp.nec.com Cc: Christoph Lameter c...@linux.com Cc: Rik van Riel r

[PATCH 61/97] x86/mm: In the PTE swapout page reclaim case clear the accessed bit instead of flushing the TLB

2014-08-28 Thread Mel Gorman
time the delay shouldn't really matter because there's no real memory pressure for swapout to react to. ] Suggested-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Shaohua Li s...@fusionio.com Acked-by: Rik van Riel r...@redhat.com Acked-by: Mel Gorman mgor...@suse.de Acked-by: Hugh

[PATCH 55/97] mm, compaction: add per-zone migration pfn cache for async compaction

2014-08-28 Thread Mel Gorman
compaction is updated only when called for sync compaction. Signed-off-by: David Rientjes rient...@google.com Acked-by: Vlastimil Babka vba...@suse.cz Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Cc: Greg Thelen gthe...@google.com Cc: Mel Gorman mgor...@suse.de Signed-off-by: Andrew

[PATCH 54/97] mm, compaction: return failed migration target pages back to freelist

2014-08-28 Thread Mel Gorman
Thelen gthe...@google.com Acked-by: Mel Gorman mgor...@suse.de Acked-by: Vlastimil Babka vba...@suse.cz Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor

[PATCH 59/97] mm/compaction: avoid rescanning pageblocks in isolate_freepages

2014-08-28 Thread Mel Gorman
successful pageblock in zone-compact_cached_free_pfn, remains unchanged. This cache is used when the whole compaction is restarted, not for multiple invocations of the free scanner during single compaction. Signed-off-by: Vlastimil Babka vba...@suse.cz Cc: Minchan Kim minc...@kernel.org Cc: Mel Gorman

[PATCH 58/97] mm/compaction: do not count migratepages when unnecessary

2014-08-28 Thread Mel Gorman
for migration, and this one was just duplicating the info. Signed-off-by: Vlastimil Babka vba...@suse.cz Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Cc: Minchan Kim minc...@kernel.org Cc: Mel Gorman mgor...@suse.de Cc: Joonsoo Kim iamjoonsoo@lge.com Cc: Bartlomiej Zolnierkiewicz

[PATCH 60/97] mm, compaction: properly signal and act upon lock and need_sched() contention

2014-08-28 Thread Mel Gorman
. [a...@linux-foundation.org: fix typo in comment] Reported-by: Joonsoo Kim iamjoonsoo@lge.com Signed-off-by: Vlastimil Babka vba...@suse.cz Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Cc: Minchan Kim minc...@kernel.org Cc: Mel Gorman mgor...@suse.de Cc: Bartlomiej Zolnierkiewicz

[PATCH 53/97] mm, migration: add destination page freeing callback

2014-08-28 Thread Mel Gorman
Horiguchi n-horigu...@ah.jp.nec.com Acked-by: Mel Gorman mgor...@suse.de Acked-by: Vlastimil Babka vba...@suse.cz Cc: Greg Thelen gthe...@google.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de

[PATCH 51/97] mm/compaction: clean up unused code lines

2014-08-28 Thread Mel Gorman
: Sunghwan Yun sunghwan@samsung.com Cc: Minchan Kim minc...@kernel.org Cc: Mel Gorman mgor...@suse.de Cc: Joonsoo Kim iamjoonsoo@lge.com Cc: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Cc: Michal Nazarewicz min...@mina86.com Cc: Naoya Horiguchi n-horigu...@ah.jp.nec.com Cc: Christoph Lameter

[PATCH 57/97] mm, compaction: terminate async compaction when rescheduling

2014-08-28 Thread Mel Gorman
care of the scheduling. If the cond_resched() actually triggers, then terminate this pageblock scan for async compaction as well. Signed-off-by: David Rientjes rient...@google.com Acked-by: Mel Gorman mgor...@suse.de Acked-by: Vlastimil Babka vba...@suse.cz Cc: Mel Gorman mgor...@suse.de Cc

[PATCH 56/97] mm, compaction: embed migration mode in compact_control

2014-08-28 Thread Mel Gorman
from sysfs, either for the entire system or for a node, to force MIGRATE_SYNC. [a...@linux-foundation.org: fix build] [iamjoonsoo@lge.com: use MIGRATE_SYNC in alloc_contig_range()] Signed-off-by: David Rientjes rient...@google.com Suggested-by: Mel Gorman mgor...@suse.de Acked-by: Vlastimil

[PATCH 50/97] mm/readahead.c: inline ra_submit

2014-08-28 Thread Mel Gorman
for commenting different versions. Signed-off-by: Fabian Frederick f...@skynet.be Suggested-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- include

[PATCH 49/97] callers of iov_copy_from_user_atomic() don't need pagecache_disable()

2014-08-28 Thread Mel Gorman
From: Al Viro v...@zeniv.linux.org.uk commit 9e8c2af96e0d2d5fe298dd796fb6bc16e888a48d upstream. ... it does that itself (via kmap_atomic()) Signed-off-by: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Mel Gorman mgor...@suse.de --- fs/btrfs/file.c | 5 - fs/fuse/file.c | 2 -- mm

[PATCH 42/97] mm: don't pointlessly use BUG_ON() for sanity check

2014-08-28 Thread Mel Gorman
: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/vmacache.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mm/vmacache.c b/mm/vmacache.c index d4224b3..1037a3ba 100644

[PATCH 46/97] mm + fs: prepare for non-page entries in page cache radix trees

2014-08-28 Thread Mel Gorman
...@google.com Cc: Hugh Dickins hu...@google.com Cc: Jan Kara j...@suse.cz Cc: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Cc: Luigi Semenzato semenz...@google.com Cc: Mel Gorman mgor...@suse.de Cc: Metin Doslu me...@citusdata.com Cc: Michel Lespinasse wal...@google.com Cc: Ozgun Erdogan oz

[PATCH 39/97] mm: vmscan: shrink_slab: rename max_pass - freeable

2014-08-28 Thread Mel Gorman
that. Rename it to reflect its actual meaning. Signed-off-by: Vladimir Davydov vdavy...@parallels.com Acked-by: David Rientjes rient...@google.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor

[PATCH 41/97] mm: per-thread vma caching

2014-08-28 Thread Mel Gorman
...@redhat.com Tested-by: Hugh Dickins hu...@google.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- arch/unicore32/include/asm/mmu_context.h | 4 +- fs/exec.c

[PATCH 40/97] vmscan: reclaim_clean_pages_from_list() must use mod_zone_page_state()

2014-08-28 Thread Mel Gorman
...@ti.com Tested-by: Grygorii Strashko grygorii.stras...@ti.com Cc: Tejun Heo t...@kernel.org Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Ingo Molnar mi...@kernel.org Cc: Mel Gorman m...@csn.ul.ie Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux

[PATCH 44/97] mm: shmem: save one radix tree lookup when truncating swapped pages

2014-08-28 Thread Mel Gorman
-by: Johannes Weiner han...@cmpxchg.org Reviewed-by: Minchan Kim minc...@kernel.org Reviewed-by: Rik van Riel r...@redhat.com Acked-by: Mel Gorman mgor...@suse.de Cc: Andrea Arcangeli aarca...@redhat.com Cc: Bob Liu bob@oracle.com Cc: Christoph Hellwig h...@infradead.org Cc: Dave Chinner da

[PATCH 45/97] mm: filemap: move radix tree hole searching here

2014-08-28 Thread Mel Gorman
be adapted to handle the new definition of page cache hole. Signed-off-by: Johannes Weiner han...@cmpxchg.org Reviewed-by: Rik van Riel r...@redhat.com Reviewed-by: Minchan Kim minc...@kernel.org Acked-by: Mel Gorman mgor...@suse.de Cc: Andrea Arcangeli aarca...@redhat.com Cc: Bob Liu bob@oracle.com

[PATCH 47/97] mm: madvise: fix MADV_WILLNEED on shmem swapouts

2014-08-28 Thread Mel Gorman
-page entries in page cache radix trees) Signed-off-by: Johannes Weiner han...@cmpxchg.org Reported-by: Hugh Dickins hu...@google.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm

[PATCH 43/97] lib: radix-tree: add radix_tree_delete_item()

2014-08-28 Thread Mel Gorman
-by: Rik van Riel r...@redhat.com Acked-by: Mel Gorman mgor...@suse.de Cc: Andrea Arcangeli aarca...@redhat.com Cc: Bob Liu bob@oracle.com Cc: Christoph Hellwig h...@infradead.org Cc: Dave Chinner da...@fromorbit.com Cc: Greg Thelen gthe...@google.com Cc: Hugh Dickins hu...@google.com Cc: Jan Kara j

[PATCH 48/97] mm: remove read_cache_page_async()

2014-08-28 Thread Mel Gorman
page to the cache, and removes read_cache_page_async() and its wrappers. Signed-off-by: Sasha Levin sasha.le...@oracle.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- fs/cramfs

[PATCH 37/97] mm/filemap.c: avoid always dirtying mapping-flags on O_DIRECT

2014-08-28 Thread Mel Gorman
a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/filemap.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index df13a9b..ed99e57 100644 --- a/mm/filemap.c

[PATCH 38/97] mm: vmscan: respect NUMA policy mask when shrinking slab on direct reclaim

2014-08-28 Thread Mel Gorman
shrinker is NUMA aware. That said, binding a process to a particular NUMA node won't prevent it from shrinking inode/dentry caches from other nodes, which is not good. Fix this. Signed-off-by: Vladimir Davydov vdavy...@parallels.com Cc: Mel Gorman mgor...@suse.de Cc: Michal Hocko mho...@suse.cz

[PATCH 35/97] mm/readahead.c: fix readahead failure for memoryless NUMA nodes and limit readahead pages

2014-08-28 Thread Mel Gorman
-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/readahead.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/readahead.c b/mm/readahead.c index 5b637b5..e9c4a6a 100644 --- a/mm/readahead.c +++ b/mm

[PATCH 36/97] mm: optimize put_mems_allowed() usage

2014-08-28 Thread Mel Gorman
its previous incarnation. Signed-off-by: Peter Zijlstra a.p.zijls...@chello.nl Signed-off-by: Mel Gorman mgor...@suse.de Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- include/linux

[PATCH 33/97] mm, compaction: determine isolation mode only once

2014-08-28 Thread Mel Gorman
an effect, gcc doesn't optimize it itself because of cc-sync. Signed-off-by: David Rientjes rient...@google.com Cc: Mel Gorman mgor...@suse.de Acked-by: Rik van Riel r...@redhat.com Acked-by: Vlastimil Babka vba...@suse.cz Cc: Joonsoo Kim iamjoonsoo@lge.com Signed-off-by: Andrew Morton a...@linux

[PATCH 31/97] mm/compaction: check pageblock suitability once per pageblock

2014-08-28 Thread Mel Gorman
is the first thing we should do and makes things more simple. [vba...@suse.cz: rephrase commit description] Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com Acked-by: Vlastimil Babka vba...@suse.cz Cc: Mel Gorman mgor...@suse.de Cc: Rik van Riel r...@redhat.com Signed-off-by: Andrew Morton a...@linux

[PATCH 28/97] mm/compaction: disallow high-order page for migration target

2014-08-28 Thread Mel Gorman
-by: Vlastimil Babka vba...@suse.cz Cc: Mel Gorman mgor...@suse.de Cc: Rik van Riel r...@redhat.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/compaction.c | 15 +++ 1 file

[PATCH 29/97] mm/compaction: do not call suitable_migration_target() on every page

2014-08-28 Thread Mel Gorman
pageblock. suitable_migration_target() also checks if page is highorder or not, but it's criteria for highorder is pageblock order. So calling it once within pageblock range has no problem. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com Acked-by: Vlastimil Babka vba...@suse.cz Cc: Mel Gorman

[PATCH 30/97] mm/compaction: change the timing to check to drop the spinlock

2014-08-28 Thread Mel Gorman
, locked variable would be false. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com Acked-by: Vlastimil Babka vba...@suse.cz Cc: Mel Gorman mgor...@suse.de Cc: Rik van Riel r...@redhat.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org

[PATCH 26/97] mm: get rid of unnecessary pageblock scanning in setup_zone_migrate_reserve

2014-08-28 Thread Mel Gorman
comment] Signed-off-by: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Signed-off-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Reported-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Tested-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Cc: Mel Gorman mgor...@suse.de Signed-off

[PATCH 27/97] mm, compaction: avoid isolating pinned pages

2014-08-28 Thread Mel Gorman
second. Signed-off-by: David Rientjes rient...@google.com Acked-by: Hugh Dickins hu...@google.com Acked-by: Mel Gorman mgor...@suse.de Cc: Joonsoo Kim iamjoonsoo@lge.com Cc: Rik van Riel r...@redhat.com Cc: Greg Thelen gthe...@google.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed

[PATCH 34/97] mm, compaction: ignore pageblock skip when manually invoking compaction

2014-08-28 Thread Mel Gorman
, there's no need to skip pageblocks based on heuristics (mainly for debugging). Signed-off-by: David Rientjes rient...@google.com Acked-by: Mel Gorman mgor...@suse.de Cc: Rik van Riel r...@redhat.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux

[PATCH 32/97] mm/compaction: clean-up code on success of ballon isolation

2014-08-28 Thread Mel Gorman
: Mel Gorman mgor...@suse.de Cc: Rik van Riel r...@redhat.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/compaction.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions

[PATCH 25/97] mm: vmscan: call NUMA-unaware shrinkers irrespective of nodemask

2014-08-28 Thread Mel Gorman
will not call such shrinkers at all. As a result some slabs will be left untouched under some circumstances. Let us fix it. Signed-off-by: Vladimir Davydov vdavy...@parallels.com Reported-by: Dave Chinner dchin...@redhat.com Cc: Mel Gorman mgor...@suse.de Cc: Michal Hocko mho...@suse.cz Cc: Johannes Weiner

[PATCH 19/97] mm: compaction: trace compaction begin and end

2014-08-28 Thread Mel Gorman
-off-by: Mel Gorman mgor...@suse.de Signed-off-by: Vlastimil Babka vba...@suse.cz Cc: Rik van Riel r...@redhat.com Cc: Joonsoo Kim iamjoonsoo@lge.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor

[PATCH 21/97] mm: compaction: do not mark unmovable pageblocks as skipped in async compaction

2014-08-28 Thread Mel Gorman
...@redhat.com Acked-by: Mel Gorman mgor...@suse.de Cc: Joonsoo Kim iamjoonsoo@lge.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/compaction.c | 11 +-- 1 file changed, 9

[PATCH 12/97] swap: change swap_list_head to plist, add swap_avail_head

2014-08-28 Thread Mel Gorman
. Add a new spinlock, swap_avail_lock, to protect the swap_avail_head list. Mel Gorman suggested using plists since they internally handle ordering the list entries based on priority, which is exactly what swap was doing manually. All the ordering code is now removed, and swap_info_struct entries

[PATCH 10/97] lib/plist: add helper functions

2014-08-28 Thread Mel Gorman
). Signed-off-by: Dan Streetman ddstr...@ieee.org Acked-by: Mel Gorman mgor...@suse.de Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Steven Rostedt rost...@goodmis.org Cc: Thomas Gleixner t...@linutronix.de Cc: Shaohua Li s...@fusionio.com Cc: Hugh Dickins hu...@google.com Cc: Dan Streetman

[PATCH 18/97] x86/mm: Eliminate redundant page table walk during TLB range flushing

2014-08-28 Thread Mel Gorman
with any other threads serialised behind it. In comparison to that, the flush is noise. It makes more sense to optimise balancing to require fewer flushes than to optimise the flush itself. This patch deletes the redundant huge page check. Signed-off-by: Mel Gorman mgor...@suse.de Tested

[PATCH 03/97] slab: correct pfmemalloc check

2014-08-28 Thread Mel Gorman
virt_to_head_page(slab-s_mem). Acked-by: Andi Kleen a...@linux.intel.com Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com Signed-off-by: Pekka Enberg penb...@iki.fi Signed-off-by: Mel Gorman mgor...@suse.de --- mm/slab.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mm/slab.c b/mm

[PATCH 09/97] swap: change swap_info singly-linked list to list_head

2014-08-28 Thread Mel Gorman
equally in pairs. The swap behavior is now as advertised, i.e. different priority swap entries are used in order, and equal priority swap targets are used concurrently. Signed-off-by: Dan Streetman ddstr...@ieee.org Acked-by: Mel Gorman mgor...@suse.de Cc: Shaohua Li s...@fusionio.com Cc: Hugh

[PATCH 05/97] mm: fix bad rss-counter if remap_file_pages raced migration

2014-08-28 Thread Mel Gorman
Jones da...@redhat.com Cc: Cyrill Gorcunov gorcu...@gmail.com Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/fremap.c | 28 ++-- 1 file changed, 22 insertions(+), 6

[PATCH 07/97] mm: exclude memoryless nodes from zone_reclaim

2014-08-28 Thread Mel Gorman
evaluates zone reclaim behavior and suitable reclaim_nodes. Signed-off-by: Michal Hocko mho...@suse.cz Acked-by: David Rientjes rient...@google.com Acked-by: Nishanth Aravamudan n...@linux.vnet.ibm.com Tested-by: Nishanth Aravamudan n...@linux.vnet.ibm.com Acked-by: Mel Gorman mgor...@suse.de Signed

[PATCH 16/97] mm, x86: Account for TLB flushes only when debugging

2014-08-28 Thread Mel Gorman
not justify taking the penalty everywhere so make it a debugging option. Signed-off-by: Mel Gorman mgor...@suse.de Tested-by: Davidlohr Bueso davidl...@hp.com Reviewed-by: Rik van Riel r...@redhat.com Signed-off-by: Andrew Morton a...@linux-foundation.org Cc: Hugh Dickins hu...@google.com Cc: Alex Shi alex

[PATCH 22/97] mm: compaction: reset scanner positions immediately when they meet

2014-08-28 Thread Mel Gorman
!MIGRATE_MOVABLE blocks that async compactions now skips without marking them. Signed-off-by: Vlastimil Babka vba...@suse.cz Cc: Rik van Riel r...@redhat.com Acked-by: Mel Gorman mgor...@suse.de Cc: Joonsoo Kim iamjoonsoo@lge.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off

[PATCH 15/97] mm: __rmqueue_fallback() should respect pageblock type

2014-08-28 Thread Mel Gorman
added) broke it. This patch restores sane and old behavior. It also removes an incorrect comment which was introduced by commit fef903efcf0c (mm/page_alloc.c: restructure free-page stealing code and fix a bug). Signed-off-by: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Cc: Mel Gorman mgor

[PATCH 24/97] mm: vmscan: shrink all slab objects if tight on memory

2014-08-28 Thread Mel Gorman
objects, which sounds reasonable. [*] http://www.spinics.net/lists/cgroups/msg06913.html Signed-off-by: Vladimir Davydov vdavy...@parallels.com Cc: Mel Gorman mgor...@suse.de Cc: Michal Hocko mho...@suse.cz Cc: Johannes Weiner han...@cmpxchg.org Cc: Rik van Riel r...@redhat.com Cc: Dave Chinner dchin

[PATCH 13/97] readahead: fix sequential read cache miss detection

2014-08-28 Thread Mel Gorman
...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- mm/readahead.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mm/readahead.c b/mm/readahead.c index e4ed041..5b637b5 100644 --- a/mm/readahead.c +++ b/mm/readahead.c @@ -401,6 +401,7

[PATCH 02/97] mm: thp: khugepaged: add policy for finding target node

2014-08-28 Thread Mel Gorman
A. Shutemov kirill.shute...@linux.intel.com Cc: Mel Gorman m...@csn.ul.ie Cc: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Cc: Wanpeng Li liw...@linux.vnet.ibm.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman

[PATCH 17/97] x86/mm: Clean up inconsistencies when flushing TLB ranges

2014-08-28 Thread Mel Gorman
commit 15aa368255f249df0b2af630c9487bb5471bd7da upstream. NR_TLB_LOCAL_FLUSH_ALL is not always accounted for correctly and the comparison with total_vm is done before taking tlb_flushall_shift into account. Clean it up. Signed-off-by: Mel Gorman mgor...@suse.de Tested-by: Davidlohr Bueso davidl

[PATCH 23/97] swap: add a simple detector for inappropriate swapin readahead

2014-08-28 Thread Mel Gorman
: Minchan Kim minc...@kernel.org Cc: Konstantin Khlebnikov khlebni...@openvz.org Signed-off-by: Andrew Morton a...@linux-foundation.org Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Mel Gorman mgor...@suse.de --- include/linux/page-flags.h | 4 +-- mm/swap_state.c

[PATCH 20/97] mm: compaction: encapsulate defer reset logic

2014-08-28 Thread Mel Gorman
this functionality and make it easier to understand the code. No functional change. Signed-off-by: Vlastimil Babka vba...@suse.cz Acked-by: Mel Gorman mgor...@suse.de Reviewed-by: Rik van Riel r...@redhat.com Cc: Joonsoo Kim iamjoonsoo@lge.com Signed-off-by: Andrew Morton a...@linux-foundation.org Signed

[PATCH 08/97] mm, thp: do not allow thp faults to avoid cpuset restrictions

2014-08-28 Thread Mel Gorman
Berriche h...@sgi.com Cc: Hugh Dickins hu...@google.com Cc: Johannes Weiner han...@cmpxchg.org Cc: Kirill A. Shutemov kirill.shute...@linux.intel.com Cc: Mel Gorman mgor...@suse.de Cc: Rik van Riel r...@redhat.com Cc: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Cc: stable@vger.kernel.org

  1   2   3   >