aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
AgeCommit message (Expand)AuthorFilesLines
2012-04-12Revert "mm: vmscan: fix misused nr_reclaimed in shrink_mem_cgroup_zone()"Ying Han1-6/+1
2012-03-24Fix potential endless loop in kswapd when compaction is not enabledRik van Riel1-1/+2
2012-03-23mm: fix testorder interaction between two kswapd patchesHugh Dickins1-1/+1
2012-03-21mm: forbid lumpy-reclaim in shrink_active_list()Konstantin Khlebnikov1-0/+2
2012-03-21cpuset: mm: reduce large amounts of memory barrier related damage v3Mel Gorman1-2/+0
2012-03-21mm/vmscan.c: fix spelling errorCopot Alexandru1-2/+2
2012-03-21vmscan: handle isolated pages with lru lock releasedHillf Danton1-11/+10
2012-03-21mm: vmscan: forcibly scan highmem if there are too many buffer_heads pinning ...Mel Gorman1-13/+29
2012-03-21vmscan: only defer compaction for failed order and higherRik van Riel1-1/+1
2012-03-21vmscan: kswapd carefully call compactionRik van Riel1-0/+10
2012-03-21vmscan: reclaim at order 0 when compaction is enabledRik van Riel1-17/+30
2012-03-21mm: vmscan: fix misused nr_reclaimed in shrink_mem_cgroup_zone()Hillf Danton1-1/+6
2012-03-21mm/vmscan.c: cleanup with s/reclaim_mode/isolate_mode/Hillf Danton1-9/+9
2012-01-23SHM_UNLOCK: fix Unevictable pages stranded after swapHugh Dickins1-89/+39
2012-01-23SHM_UNLOCK: fix long unpreemptible sectionHugh Dickins1-1/+11
2012-01-12mm: rearrange putback_inactive_pagesHugh Dickins1-52/+44
2012-01-12mm: remove isolate_pages()Hugh Dickins1-34/+27
2012-01-12mm: enum lru_list lruHugh Dickins1-11/+11
2012-01-12mm: take pagevecs off reclaim stackHugh Dickins1-18/+40
2012-01-12mm: vmscan: check if reclaim should really abort even if compaction_ready() i...Mel Gorman1-10/+9
2012-01-12mm: vmscan: when reclaiming for compaction, ensure there are sufficient free ...Mel Gorman1-5/+39
2012-01-12mm: compaction: make isolate_lru_page() filter-aware againMel Gorman1-2/+33
2012-01-12mm: vmscan: do not OOM if aborting reclaim to start compactionMel Gorman1-1/+7
2012-01-12mm: vmscan: check if we isolated a compound page during lumpy scanAndrea Arcangeli1-3/+7
2012-01-12vmscan/trace: Add 'file' info to trace_mm_vmscan_lru_isolate()Tao Ma1-1/+1
2012-01-12mm: unify remaining mem_cont, mem, etc. variable names to memcgJohannes Weiner1-6/+6
2012-01-12mm: make per-memcg LRU lists exclusiveJohannes Weiner1-35/+29
2012-01-12mm: collect LRU list heads into struct lruvecJohannes Weiner1-5/+5
2012-01-12mm: vmscan: convert global reclaim to per-memcg LRU listsJohannes Weiner1-17/+22
2012-01-12mm: move memcg hierarchy reclaim to generic reclaim codeJohannes Weiner1-4/+39
2012-01-12mm: vmscan: distinguish between memcg triggering reclaim and memcg being scannedJohannes Weiner1-108/+141
2012-01-12mm: vmscan: distinguish global reclaim from global LRU scanningJohannes Weiner1-25/+37
2012-01-10mm: vmscan: fix typo in isolating lru pagesHillf Danton1-1/+1
2012-01-10mm: test PageSwapBacked in lumpy reclaimHugh Dickins1-1/+1
2012-01-10mm/vmscan.c: consider swap space when deciding whether to continue reclaimMinchan Kim1-2/+3
2012-01-10vmscan: add task name to warn_scan_unevictable() messagesKOSAKI Motohiro1-2/+3
2012-01-10mm: add free_hot_cold_page_list() helperKonstantin Khlebnikov1-19/+1
2012-01-10vmscan: activate executable pages after first usageKonstantin Khlebnikov1-0/+6
2012-01-10vmscan: promote shared file mapped pagesKonstantin Khlebnikov1-1/+1
2012-01-06Merge branch 'driver-core-next' into Linux 3.2Greg Kroah-Hartman1-7/+7
2011-12-21convert 'memory' sysdev_class to a regular subsystemKay Sievers1-7/+7
2011-12-09vmscan: use atomic-long for shrinker batchingKonstantin Khlebnikov1-10/+7
2011-12-09vmscan: fix initial shrinker size handlingKonstantin Khlebnikov1-3/+6
2011-11-06Merge branch 'writeback-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+2
2011-11-02memcg: skip scanning active lists based on individual sizeJohannes Weiner1-2/+2
2011-10-31vmscan: abort reclaim/compaction if compaction can proceedMel Gorman1-11/+21
2011-10-31vmscan: limit direct reclaim for higher order allocationsRik van Riel1-0/+16
2011-10-31vmscan: add barrier to prevent evictable page in unevictable listMinchan Kim1-5/+6
2011-10-31mm: disable user interface to manually rescue unevictable pagesJohannes Weiner1-76/+8
2011-10-31vmscan.c: fix invalid strict_strtoul() check in write_scan_unevictable_node()Kautuk Consul1-2/+2
2011-10-31kswapd: assign new_order and new_classzone_idx after wakeup in sleepingAlex,Shi1-0/+2
2011-10-31kswapd: avoid unnecessary rebalance after an unsuccessful balancingAlex,Shi1-3/+11
2011-10-31vmscan: count pages into balanced for zone with good watermarkShaohua Li1-0/+2
2011-10-31mm: vmscan: immediately reclaim end-of-LRU dirty pages when writeback completesMel Gorman1-1/+9
2011-10-31mm: vmscan: throttle reclaim if encountering too many dirty pages under write...Mel Gorman1-3/+39
2011-10-31mm: vmscan: do not writeback filesystem pages in kswapd except in high priorityMel Gorman1-5/+8
2011-10-31mm: vmscan: remove dead code related to lumpy reclaim waiting on pages under ...Mel Gorman1-16/+5
2011-10-31mm: vmscan: do not writeback filesystem pages in direct reclaimMel Gorman1-0/+9
2011-10-31mm: vmscan: drop nr_force_scan[] from get_scan_countJohannes Weiner1-24/+12
2011-10-31vmscan: add block plug for page reclaimShaohua Li1-0/+3
2011-10-31mm: zone_reclaim: make isolate_lru_page() filter-awareMinchan Kim1-2/+18
2011-10-31mm: compaction: make isolate_lru_page() filter-awareMinchan Kim1-0/+3
2011-10-31mm: change isolate mode from #define to bitwise typeMinchan Kim1-17/+20
2011-10-31writeback: Add a 'reason' to wb_writeback_workCurt Wohlgemuth1-1/+2
2011-09-15Merge branch 'master' into for-nextJiri Kosina1-35/+39
2011-09-14memcg: Revert "memcg: add memory.vmscan_stat"Johannes Weiner1-34/+5
2011-09-14mm: vmscan: fix force-scanning small targets without swapJohannes Weiner1-15/+12
2011-08-25vmscan: clear ZONE_CONGESTED for zone with good watermarkShaohua Li1-0/+3
2011-08-25mm: fix a vmscan warningShaohua Li1-8/+8
2011-08-24mm/vmscan.c: fix a typo in a comment "relaimed" to "reclaimed"Justin P. Mattock1-1/+1
2011-07-26memcg: add memory.vmscan_statKAMEZAWA Hiroyuki1-5/+34
2011-07-26memcg: fix vmscan count in small memcgsKAMEZAWA Hiroyuki1-6/+12
2011-07-26memcg: consolidate memory cgroup lru stat functionsKAMEZAWA Hiroyuki1-1/+2
2011-07-26memcg: export memory cgroup's swappiness with mem_cgroup_swappiness()KAMEZAWA Hiroyuki1-13/+10
2011-07-20vmscan: add customisable shrinker batch sizeDave Chinner1-5/+6
2011-07-20vmscan: reduce wind up shrinker->nr when shrinker can't do workDave Chinner1-0/+15
2011-07-20vmscan: shrinker->nr updates race and go wrongDave Chinner1-13/+32
2011-07-20vmscan: add shrink_slab tracepointsDave Chinner1-1/+7
2011-07-19vmscan: fix a livelock in kswapdShaohua Li1-1/+2
2011-07-08mm: vmscan: only read new_classzone_idx from pgdat when reclaiming successfullyMel Gorman1-13/+21
2011-07-08mm: vmscan: evaluate the watermarks against the correct classzoneMel Gorman1-1/+1
2011-07-08mm: vmscan: do not apply pressure to slab if we are not applying pressure to ...Mel Gorman1-10/+13
2011-07-08mm: vmscan: correct check for kswapd sleeping in sleeping_prematurelyMel Gorman1-1/+1
2011-06-27memcg: fix direct softlimit reclaim to be called in limit pathKAMEZAWA Hiroyuki1-12/+15
2011-06-15mm: vmscan: do not use page_count without a page pinAndrea Arcangeli1-2/+14
2011-06-15vmscan,memcg: memcg aware swap tokenKOSAKI Motohiro1-2/+2
2011-05-26memcg: rename mem_cgroup_zone_nr_pages() to mem_cgroup_zone_nr_lru_pages()Ying Han1-1/+1
2011-05-26memcg: fix get_scan_count() for small targetsKAMEZAWA Hiroyuki1-27/+33
2011-05-26memcg: reclaim memory from nodes in round-robin orderYing Han1-1/+9
2011-05-26memcg: add the soft_limit reclaim in global direct reclaim.Ying Han1-2/+14
2011-05-26memcg: count the soft_limit reclaim in global background reclaimYing Han1-3/+13
2011-05-25vmscan: change shrinker API by passing shrink_control structYing Han1-15/+19
2011-05-25vmscan: change shrink_slab() interfaces by passing shrink_controlYing Han1-13/+33
2011-05-25mm: strictly require elevated page refcount in isolate_lru_page()Konstantin Khlebnikov1-1/+4
2011-05-25mm: vmscan: correctly check if reclaimer should schedule during shrink_slabMinchan Kim1-2/+7
2011-05-25mm: vmscan: correct use of pgdat_balanced in sleeping_prematurelyJohannes Weiner1-1/+1
2011-05-20sanitize <linux/prefetch.h> usageLinus Torvalds1-0/+1
2011-05-18memcg: fix zone congestionKAMEZAWA Hiroyuki1-1/+1
2011-04-14vmscan: all_unreclaimable() use zone->all_unreclaimable as a nameKOSAKI Motohiro1-11/+13
2011-03-31Fix common misspellingsLucas De Marchi1-2/+2
2011-03-24Merge branch 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-1/+1
2011-03-22mm: vmscan: kswapd should not free an excessive number of pages when balancin...Mel Gorman1-3/+13
2011-03-22mm: change __remove_from_page_cache()Minchan Kim1-1/+1
2011-03-22mm: compaction: prevent kswapd compacting memory to reduce CPU usageAndrea Arcangeli1-17/+1
2011-03-10Merge branch 'for-2.6.39/stack-plug' into for-2.6.39/coreJens Axboe1-1/+1
2011-03-10block: remove per-queue pluggingJens Axboe1-1/+1
2011-02-25mm: vmscan: stop reclaim/compaction earlier due to insufficient progress if !...Mel Gorman1-10/+22
2011-02-11vmscan: fix zone shrinking exit when scan work is doneJohannes Weiner1-2/+2
2011-01-26mm: fix deferred congestion timeout if preferred zone is not allowedDavid Rientjes1-1/+2
2011-01-20mm/vmscan.c: remove duplicate include of compaction.hJesper Juhl1-1/+0
2011-01-17Revert "mm: batch activate_page() to reduce lock contention"Linus Torvalds1-4/+2
2011-01-13mm: batch activate_page() to reduce lock contentionShaohua Li1-2/+4
2011-01-13thp: scale nr_rotated to balance memory pressureRik van Riel1-2/+3
2011-01-13thp: fix anon memory statistics with transparent hugepagesRik van Riel1-5/+6
2011-01-13thp: use compaction in kswapd for GFP_ATOMIC order > 0Andrea Arcangeli1-10/+20
2011-01-13mm: kswapd: use the classzone idx that kswapd was using for sleeping_prematur...Mel Gorman1-13/+16
2011-01-13mm: kswapd: treat zone->all_unreclaimable in sleeping_prematurely similar to ...Mel Gorman1-1/+9
2011-01-13mm: kswapd: reset kswapd_max_order and classzone_idx after readingMel Gorman1-0/+2
2011-01-13mm: kswapd: use the order that kswapd was reclaiming at for sleeping_prematur...Mel Gorman1-5/+11
2011-01-13mm: kswapd: keep kswapd awake for high-order allocations until a percentage o...Mel Gorman1-9/+49
2011-01-13mm: kswapd: stop high-order balancing when any suitable zone is balancedMel Gorman1-9/+59
2011-01-13mm: vmscan: rename lumpy_mode to reclaim_modeMel Gorman1-35/+35
2011-01-13mm: migration: allow migration to operate asynchronously and avoid synchronou...Mel Gorman1-1/+2
2011-01-13mm: vmscan: reclaim order-0 and use compaction instead of lumpy reclaimMel Gorman1-15/+87
2011-01-13mm: vmscan: convert lumpy_mode into a bitmaskMel Gorman1-18/+28
2011-01-13vmscan: factor out kswapd sleeping logic from kswapd()KOSAKI Motohiro1-46/+46
2011-01-13mm: vmstat: use a single setter function and callback for adjusting percpu th...Mel Gorman1-2/+17
2011-01-13mm: page allocator: adjust the per-cpu counter threshold when memory is lowMel Gorman1-10/+13
2010-12-02Call the filesystem back whenever a page is removed from the page cacheLinus Torvalds1-0/+7
2010-11-12vmscan: avoid setting zone congested if no page dirtyShaohua Li1-1/+1
2010-10-26vmscan,tmpfs: treat used once pages on tmpfs as used onceKOSAKI Motohiro1-1/+1
2010-10-26writeback: do not sleep on the congestion queue if there are no congested BDI...Mel Gorman1-7/+35
2010-10-26vmscan: isolate_lru_pages(): stop neighbour search if neighbour cannot be iso...KOSAKI Motohiro1-6/+11
2010-10-26vmscan: remove dead code in shrink_inactive_list()KOSAKI Motohiro1-8/+0
2010-10-26vmscan: narrow the scenarios in whcih lumpy reclaim uses synchrounous reclaimKOSAKI Motohiro1-45/+75
2010-10-26vmscan: synchronous lumpy reclaim should not call congestion_wait()KOSAKI Motohiro1-2/+0
2010-10-26tracing, vmscan: add trace events for LRU list shrinkingMel Gorman1-0/+6
2010-10-26vmscan: delete dead codeShaohua Li1-10/+0
2010-10-26vmscan: prevent background aging of anon page in no swap systemMinchan Kim1-1/+16
2010-10-26mm: only build per-node scan_unevictable functions when NUMA is enabledThadeu Lima de Souza Cascardo1-1/+2
2010-10-26writeback: remove nonblocking/encountered_congestion referencesWu Fengguang1-1/+0
2010-10-24Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jiko...Linus Torvalds1-2/+2
2010-09-22vmscan: check all_unreclaimable in direct reclaim pathMinchan Kim1-8/+35
2010-08-18Fix typo s/contenious/continuous in commentNikanth Karthikesan1-2/+2
2010-08-11memcg: remove nid and zid argument from mem_cgroup_soft_limit_reclaim()KOSAKI Motohiro1-5/+2
2010-08-11memcg: mem_cgroup_shrink_node_zone() doesn't need sc.nodemaskKOSAKI Motohiro1-4/+1
2010-08-11memcg: kill unnecessary initialization in mem_cgroup_shrink_node_zone()KOSAKI Motohiro1-2/+0
2010-08-11memcg: sc.nr_to_reclaim should be initializedKOSAKI Motohiro1-0/+1
2010-08-09vmscan: raise the bar to PAGEOUT_IO_SYNC stallsWu Fengguang1-8/+43
2010-08-09memcg, vmscan: add memcg reclaim tracepointKOSAKI Motohiro1-1/+19
2010-08-09vmscan: shrink_slab() requires the number of lru_pages, not the page orderKOSAKI Motohiro1-4/+13
2010-08-09vmscan: protect reading of reclaim_stat with lru_lockKOSAKI Motohiro1-11/+9
2010-08-09vmscan: avoid subtraction of unsigned typesKOSAKI Motohiro1-7/+8
2010-08-09vmscan: update isolated page counters outside of main path in shrink_inactive...Mel Gorman1-25/+38
2010-08-09vmscan: set up pagevec as late as possible in shrink_page_list()Mel Gorman1-8/+28
2010-08-09vmscan: set up pagevec as late as possible in shrink_inactive_list()Mel Gorman1-43/+56
2010-08-09vmscan: remove unnecessary temporary vars in do_try_to_free_pagesMel Gorman1-5/+4
2010-08-09vmscan: simplify shrink_inactive_list()KOSAKI Motohiro1-110/+102
2010-08-09vmscan: kill prev_priority completelyKOSAKI Motohiro1-57/+0
2010-08-09vmscan: tracing: add trace event when a page is writtenMel Gorman1-0/+2
2010-08-09vmscan: tracing: add trace events for LRU page isolationMel Gorman1-0/+16
2010-08-09vmscan: tracing: add trace events for kswapd wakeup, sleeping and direct reclaimMel Gorman1-4/+20
2010-08-09vmscan: recalculate lru_pages on each priorityKOSAKI Motohiro1-13/+8
2010-08-09vmscan: zone_reclaim don't call disable_swap_token()KOSAKI Motohiro1-1/+0
2010-07-20mm/vmscan.c: fix mapping use after freeNick Piggin1-1/+1
2010-07-19mm: add context argument to shrinker callbackDave Chinner1-3/+5
2010-06-04vmscan: fix do_try_to_free_pages() return value when priority==0 reclaim failureKOSAKI Motohiro1-13/+16
2010-05-25vmscan: remove isolate_pages callback scan controlJohannes Weiner1-24/+28
2010-05-25vmscan: remove all_unreclaimable scan controlJohannes Weiner1-8/+6
2010-05-25vmscan: page_check_references(): check low order lumpy reclaim properlyKOSAKI Motohiro1-15/+26
2010-05-25vmscan: prevent get_scan_ratio() rounding errorsShaohua Li1-52/+55
2010-05-25mm: move definition for LRU isolation modes to a headerMel Gorman1-5/+0
2010-05-25cpuset,mm: fix no node to alloc memory when changing cpuset's memsMiao Xie1-0/+2
2010-04-07mm: revert "vmscan: get_scan_ratio() cleanup"KOSAKI Motohiro1-14/+9
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+1
2010-03-06vmscan: detect mapped file pages used only onceJohannes Weiner1-10/+35
2010-03-06vmscan: drop page_mapping_inuse()Johannes Weiner1-23/+2
2010-03-06vmscan: factor out page reference checksJohannes Weiner1-13/+43
2010-03-06mm: restore zone->all_unreclaimable to independence wordKOSAKI Motohiro1-13/+9
2010-03-06mm, lockdep: annotate reclaim context to zone reclaim tooKOSAKI Motohiro1-0/+2
2010-03-06vmscan: get_scan_ratio() cleanupKOSAKI Motohiro1-9/+14
2010-03-06vmscan: check high watermark after shrink zoneMinchan Kim1-10/+12
2010-01-16vmscan: kswapd: don't retry balance_pgdat() if all zones are unreclaimableKOSAKI Motohiro1-0/+3
2009-12-15vmscan: simplify codeHuang Shijie1-4/+2
2009-12-15vmscan: do not evict inactive pages when skipping an active list scanRik van Riel1-6/+12
2009-12-15vmscan: make consistent of reclaim bale out between do_try_to_free_page and s...KOSAKI Motohiro1-1/+1
2009-12-15vmscan: kill sc.swap_cluster_maxKOSAKI Motohiro1-20/+6
2009-12-15vmscan: zone_reclaim() don't use insane swap_cluster_maxKOSAKI Motohiro1-2/+1
2009-12-15vmscan: kill hibernation specific reclaim logic and unify itKOSAKI Motohiro1-127/+26
2009-12-15vmscan: separate sc.swap_cluster_max and sc.nr_max_reclaimKOSAKI Motohiro1-6/+19
2009-12-15vmscan: stop kswapd waiting on congestion when the min watermark is not being...KOSAKI Motohiro1-9/+29
2009-12-15vmscan: have kswapd sleep for a short interval and double check it should be ...Mel Gorman1-2/+42
2009-12-15mm/vmscan: change comment generic_file_write to __generic_file_aio_writeVincent Li1-1/+1
2009-12-15mm: clear node in N_HIGH_MEMORY and stop kswapd when all memory is offlinedDavid Rientjes1-6/+22
2009-10-29vmscan: order evictable rescue in LRU putbackJohannes Weiner1-0/+10
2009-10-29vmscan: limit VM_EXEC protection to file pagesWu Fengguang1-1/+1
2009-10-29congestion_wait(): don't use WRITEKOSAKI Motohiro1-1/+1
2009-09-25Merge branch 'writeback' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-4/+4
2009-09-25writeback: get rid to incorrect references to pdflush in commentsJens Axboe1-4/+4
2009-09-24Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/l...Linus Torvalds1-1/+1