aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
AgeCommit message (Expand)AuthorFilesLines
2015-07-30mm-show-proportional-swap-share-of-the-mapping-fixAndrew Morton1-2/+2
2015-07-30mm: /proc/pid/smaps:: show proportional swap share of the mappingMinchan Kim1-0/+42
2015-06-23vfs: add seq_file_path() helperMiklos Szeredi1-1/+1
2015-04-15mm: remove rest of ACCESS_ONCE() usagesJason Low1-1/+1
2014-12-10mm: page_cgroup: rename file to mm/swap_cgroup.cJohannes Weiner1-1/+1
2014-08-08mm: memcontrol: rewrite uncharge APIJohannes Weiner1-5/+2
2014-08-08mm: memcontrol: rewrite charge APIJohannes Weiner1-6/+8
2014-06-04mm/swapfile.c: delete the "last_in_cluster < scan_base" loop in the body of s...Chen Yucong1-26/+3
2014-06-04swap: change swap_list_head to plist, add swap_avail_headDan Streetman1-54/+91
2014-06-04swap: change swap_info singly-linked list to list_headDan Streetman1-99/+72
2014-02-06mm/swap: fix race on swap_info reuse between swapoff and swaponWeijie Yang1-1/+10
2014-01-23mm/swapfile.c: do not skip lowest_bit in scan_swap_map() scan loopJamie Liu1-1/+2
2014-01-23mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGESasha Levin1-4/+4
2013-11-13frontswap: enable call to invalidate area on swapoffKrzysztof Kozlowski1-1/+1
2013-11-13mm/swapfile.c: fix comment typosSeth Jennings1-7/+7
2013-10-16swap: fix set_blocksize race during swapon/swapoffKrzysztof Kozlowski1-1/+3
2013-09-11swap: make cluster allocation per-cpuShaohua Li1-34/+91
2013-09-11swap: fix races exposed by swap discardShaohua Li1-4/+27
2013-09-11swap: make swap discard asyncShaohua Li1-78/+114
2013-09-11swap: change block allocation algorithm for SSDShaohua Li1-38/+250
2013-09-11mm/swapfile.c: convert to pr_foo()Andrew Morton1-17/+13
2013-09-11swap: warn when a swap area overflows the maximum sizeRaymond Jennings1-2/+10
2013-08-13mm: save soft-dirty bits on swapped pagesCyrill Gorcunov1-2/+17
2013-07-03swap: discard while swapping only if SWAP_FLAG_DISCARD_PAGESRafael Aquini1-5/+50
2013-06-12frontswap: fix incorrect zeroing and allocation size for frontswap_mapAkinobu Mita1-1/+1
2013-04-30frontswap: get rid of swap_lock dependencyMinchan Kim1-8/+9
2013-04-29mm/: rename random32() to prandom_u32()Akinobu Mita1-1/+1
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-02-23mm,ksm: swapoff might need to copyHugh Dickins1-1/+14
2013-02-23swap: add per-partition lock for swapfileShaohua Li1-46/+108
2013-02-23swap: make each swap partition have one address_spaceShaohua Li1-2/+3
2013-02-22new helper: file_inode(file)Al Viro1-1/+1
2012-12-11mm, oom: fix race when specifying a thread as the oom originDavid Rientjes1-3/+2
2012-12-11mm, oom: change type of oom_score_adj to shortDavid Rientjes1-1/+1
2012-12-11mm: do not call frontswap_init() during swapoffCesar Eduardo Barros1-1/+1
2012-12-11mm: refactor reinsert of swap_info in sys_swapoff()Cesar Eduardo Barros1-9/+17
2012-11-16swapfile: fix name leak in swapoffXiaotian Feng1-2/+2
2012-10-12vfs: make path_openat take a struct filename pointerJeff Layton1-2/+2
2012-10-12vfs: define struct filename and have getname() return itJeff Layton1-6/+5
2012-07-31mm: swapfile: clean up unuse_pte race handlingJohannes Weiner1-2/+1
2012-07-31swapfile: avoid dereferencing bd_disk during swap_entry_free for network storageMel Gorman1-4/+6
2012-07-31mm: swap: implement generic handler for swap_activateMel Gorman1-86/+5
2012-07-31mm: add support for a filesystem to activate swap files and use direct_IO for...Mel Gorman1-2/+21
2012-07-31mm: methods for teaching filesystems about PG_swapcache pagesMel Gorman1-0/+26
2012-06-15swap: fix shmem swapping when more than 8 areasHugh Dickins1-8/+4
2012-06-04Merge tag 'stable/frontswap.v16-tag' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-13/+41
2012-05-29memcg: fix/change behavior of shared anon at moving taskKAMEZAWA Hiroyuki1-31/+0
2012-05-29shmem: replace page if mapping excludes its zoneHugh Dickins1-1/+1
2012-05-15mm: frontswap: core swap subsystem hooks and headersDan Magenheimer1-13/+41
2012-03-28swapon: check validity of swap_flagsHugh Dickins1-0/+3
2012-03-22Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-56/+2
2012-03-21swap: don't do discard if no discard option addedShaohua Li1-1/+1
2012-03-21mm: make swapin readahead skip over holesRik van Riel1-52/+0
2012-03-21mm: thp: fix pmd_bad() triggering in code paths holding mmap_sem read modeAndrea Arcangeli1-3/+1
2012-03-21Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-1/+3
2012-03-20mm: remove the second argument of k[un]map_atomic()Cong Wang1-15/+15
2012-02-14mm: collapse security_vm_enough_memory() variants into a single functionAl Viro1-1/+3
2012-01-12mm: unify remaining mem_cont, mem, etc. variable names to memcgJohannes Weiner1-4/+5
2012-01-10mm: avoid livelock on !__GFP_FS allocationsMel Gorman1-3/+3
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+0
2011-10-31oom: fix race while temporarily setting current's oom_score_adjDavid Rientjes1-1/+1
2011-10-31mm: delete various needless include <linux/module.h>Paul Gortmaker1-1/+0
2011-08-03mm: let swap use exceptional entriesHugh Dickins1-8/+12
2011-07-20fs: seq_file - add event counter to simplify poll() supportKay Sievers1-21/+8
2011-06-27mm: move shmem prototypes to shmem_fs.hHugh Dickins1-1/+1
2011-05-25oom: replace PF_OOM_ORIGIN with toggling oom_score_adjDavid Rientjes1-2/+4
2011-03-24Merge branch 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-37/+0
2011-03-23memcg: fix ugly initialization of return value is in callerKAMEZAWA Hiroyuki1-1/+1
2011-03-23sys_swapon: fix inode lockingCesar Eduardo Barros1-2/+5
2011-03-22mm: remove inline from scan_swap_map()Cesar Eduardo Barros1-2/+2
2011-03-22sys_swapon: separate final enabling of the swapfileCesar Eduardo Barros1-42/+42
2011-03-22sys_swapoff: change order to match sys_swaponCesar Eduardo Barros1-3/+4
2011-03-22sys_swapon: move printk outside lockCesar Eduardo Barros1-7/+8
2011-03-22sys_swapon: remove nr_good_pages variableCesar Eduardo Barros1-5/+3
2011-03-22sys_swapon: simplify error flow in setup_swap_map_and_extents()Cesar Eduardo Barros1-14/+5
2011-03-22sys_swapon: separate parsing of bad blocks and extentsCesar Eduardo Barros1-29/+54
2011-03-22sys_swapon: call swap_cgroup_swapon() earlierCesar Eduardo Barros1-4/+4
2011-03-22sys_swapon: simplify error flow in read_swap_header()Cesar Eduardo Barros1-9/+6
2011-03-22sys_swapon: separate parsing of swapfile headerCesar Eduardo Barros1-62/+78
2011-03-22sys_swapon: move setting of swapfilepages near useCesar Eduardo Barros1-2/+1
2011-03-22sys_swapon: simplify error flow in claim_swapfile()Cesar Eduardo Barros1-14/+6
2011-03-22sys_swapon: separate bdev claim and inode lockCesar Eduardo Barros1-25/+39
2011-03-22sys_swapon: use a single error labelCesar Eduardo Barros1-4/+3
2011-03-22sys_swapon: do only cleanup in the cleanup blocksCesar Eduardo Barros1-4/+3
2011-03-22sys_swapon: remove bdev variableCesar Eduardo Barros1-10/+9
2011-03-22sys_swapon: move setting of error nearer useCesar Eduardo Barros1-5/+6
2011-03-22sys_swapon: remove did_down variableCesar Eduardo Barros1-6/+2
2011-03-22sys_swapon: remove initial value of name variableCesar Eduardo Barros1-1/+1
2011-03-22sys_swapon: simplify error flow in alloc_swap_info()Cesar Eduardo Barros1-6/+1
2011-03-22sys_swapon: simplify error return from swap_info allocationCesar Eduardo Barros1-4/+2
2011-03-22sys_swapon: separate swap_info allocationCesar Eduardo Barros1-20/+37
2011-03-22sys_swapon: do not depend on "type" after allocationCesar Eduardo Barros1-5/+5
2011-03-22sys_swapon: remove changelog from function commentCesar Eduardo Barros1-5/+0
2011-03-22sys_swapon: use vzalloc() instead of vmalloc/memsetCesar Eduardo Barros1-2/+1
2011-03-22mm: swap: unlock swapfile inode mutex before closing file on bad swapfilesMel Gorman1-1/+6
2011-03-10Merge branch 'for-2.6.39/stack-plug' into for-2.6.39/coreJens Axboe1-37/+0
2011-03-10block: remove per-queue pluggingJens Axboe1-37/+0
2011-02-24mm: fix refcounting in swaponMiklos Szeredi1-1/+1
2011-01-13thp: split_huge_page pagingAndrea Arcangeli1-0/+2
2010-11-13block: make blkdev_get/put() handle exclusive accessTejun Heo1-3/+4
2010-10-26/proc/swaps: support pollingKay Sievers1-1/+48
2010-10-19Merge branch 'v2.6.36-rc8' into for-2.6.37/barrierJens Axboe1-77/+43
2010-09-16block: remove BLKDEV_IFL_WAITChristoph Hellwig1-3/+3
2010-09-10swap: do not send discards as barriersChristoph Hellwig1-6/+3
2010-09-09swap: discard while swapping only if SWAP_FLAG_DISCARDHugh Dickins1-1/+1
2010-09-09swap: do not send discards as barriersChristoph Hellwig1-6/+3
2010-09-09swap: prevent reuse during hibernationHugh Dickins1-4/+20
2010-09-09swap: revert special hibernation allocationHugh Dickins1-72/+22
2010-08-09hibernation: freeze swap at hibernationKAMEZAWA Hiroyuki1-22/+72
2010-08-09mm: fix corruption of hibernation caused by reusing swap during image savingKAMEZAWA Hiroyuki1-2/+4
2010-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6Linus Torvalds1-0/+5
2010-05-18swap: Add swap slot free callback to block_device_operationsNitin Gupta1-0/+4
2010-05-18swap: Add flag to identify block swap devicesNitin Gupta1-0/+1
2010-04-28blkdev: generalize flags for blkdev_issue_fn functionsDmitry Monakhov1-3/+6
2010-03-12memcg: move charges of anonymous swapDaisuke Nishimura1-0/+31
2010-03-06mm: add comment on swap_duplicate's error codeHugh Dickins1-1/+5
2010-03-06mm/swapfile.c: fix swapon size off-by-oneHugh Dickins1-13/+18
2010-03-06mm: count swap usageKAMEZAWA Hiroyuki1-0/+1
2010-03-06mm: clean up mm_counterKAMEZAWA Hiroyuki1-1/+1
2009-12-15ksm: let shared pages be swappableHugh Dickins1-1/+10
2009-12-15mm: define PAGE_MAPPING_FLAGSHugh Dickins1-1/+1
2009-12-15swap: rework map_swap_page() againLee Schermerhorn1-4/+16
2009-12-15swap_info: note SWAP_MAP_SHMEMHugh Dickins1-20/+27
2009-12-15swap_info: swap count continuationsHugh Dickins1-54/+250
2009-12-15swap_info: swap_map of chars not shortsHugh Dickins1-17/+23
2009-12-15swap_info: SWAP_HAS_CACHE cleanupsHugh Dickins1-91/+64
2009-12-15swap_info: miscellaneous minor cleanupsHugh Dickins1-27/+24
2009-12-15swap_info: include first_swap_extentHugh Dickins1-34/+36
2009-12-15swap_info: change to array of pointersHugh Dickins1-91/+113
2009-12-15swap_info: private to swapfile.cHugh Dickins1-12/+17
2009-11-02mm: remove incorrect swap_count() from try_to_unuse()Bo Liu1-2/+1
2009-10-01swapfile: avoid NULL pointer dereference in swapon when s_bdev is NULLSuresh Jayaraman1-5/+7
2009-09-24Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/l...Linus Torvalds1-2/+2
2009-09-22ksm: unmerge is an origin of OOMsHugh Dickins1-2/+2
2009-09-16HWPOISON: Add support for poison swap entries v2Andi Kleen1-2/+2
2009-09-14block: use blkdev_issue_discard in blk_ioctl_discardChristoph Hellwig1-2/+4
2009-07-29PM / Hibernate: Replace bdget call with simple atomic_inc of i_countAlan Jenkins1-2/+2
2009-06-18memcg: fix swap accountingKAMEZAWA Hiroyuki1-4/+12
2009-06-16mm: reuse unused swap entry if necessaryKAMEZAWA Hiroyuki1-0/+47
2009-06-16mm: modify swap_map and add SWAP_HAS_CACHE flagKAMEZAWA Hiroyuki1-55/+159
2009-06-16mm: add swap cache interface for swap referenceKAMEZAWA Hiroyuki1-0/+19
2009-02-21PM/hibernate: fix "swap breaks after hibernation failures"Alan Jenkins1-2/+2
2009-01-29memcg: fix refcnt handling at swapoffKAMEZAWA Hiroyuki1-1/+4
2009-01-14[CVE-2009-0029] System call wrappers part 26Heiko Carstens1-2/+2
2009-01-08memcg: revert gfp mask fixKAMEZAWA Hiroyuki1-2/+1
2009-01-08memcg: mem+swap controller coreKAMEZAWA Hiroyuki1-4/+7
2009-01-08memcg: swap cgroup for remembering usageKAMEZAWA Hiroyuki1-0/+10
2009-01-08memcg: fix gfp_mask of callers of chargeKAMEZAWA Hiroyuki1-1/+1
2009-01-08memcg: introduce charge-commit-cancel style of functionsKAMEZAWA Hiroyuki1-2/+4
2009-01-06mm: kill page_queue_congested()KOSAKI Motohiro1-20/+0
2009-01-06badpage: zap print_bad_pte on swap and fileHugh Dickins1-3/+4
2009-01-06swapfile: let others seed randomHugh Dickins1-1/+0
2009-01-06swapfile: change discard pgoff_t to sector_tHugh Dickins1-2/+2
2009-01-06swapfile: swap allocation cycle if nonrotHugh Dickins1-4/+46
2009-01-06swapfile: swapon randomize if nonrotHugh Dickins1-2/+9
2009-01-06swapfile: swap allocation use discardHugh Dickins1-1/+118
2009-01-06swapfile: swapon use discard (trim)Hugh Dickins1-2/+37
2009-01-06swapfile: rearrange scan and swap_infoHugh Dickins1-29/+37
2009-01-06swapfile: remove v0 SWAP-SPACE messageHugh Dickins1-81/+65
2009-01-06swapfile: remove surplus whitespaceHugh Dickins1-11/+11
2009-01-06swapfile: remove SWP_ACTIVE maskHugh Dickins1-2/+2
2009-01-06swapfile: swapon needs larger size typeHugh Dickins1-3/+3
2009-01-06mm: optimize get_scan_ratio for no swapHugh Dickins1-0/+1
2009-01-06mm: try_to_unuse check removing right swapHugh Dickins1-1/+10
2009-01-06mm: try_to_free_swap replaces remove_exclusive_swap_pageHugh Dickins1-58/+12
2009-01-06mm: reuse_swap_page replaces can_share_swap_pageHugh Dickins1-4/+11
2009-01-06mm: replace some BUG_ONs by VM_BUG_ONsHugh Dickins1-5/+3
2008-12-16x86: consolidate __swp_XXX() macrosJan Beulich1-0/+9
2008-10-20mm: page lock use lock bitopsNick Piggin1-1/+1
2008-10-20vmscan: free swap space on swap-in/activationRik van Riel1-3/+22
2008-08-04mm: rename page trylockNick Piggin1-1/+1
2008-07-30swapfile/vmscan: update comments related to vmscan functionsFernando Luis Vazquez Cao1-2/+2
2008-07-26mm/swapfile.c: make code staticAdrian Bunk1-3/+3
2008-07-26mm: spinlock tree_lockNick Piggin1-2/+2
2008-07-24mm: fix ever-decreasing swap priorityHugh Dickins1-24/+25
2008-04-29mm: use non-racy method for /proc/swaps creationDenis V. Lunev1-5/+1
2008-04-28mm: try both endianess when checking for endianessChris Dearman1-0/+8
2008-02-14d_path: Make seq_path() use a struct path argumentJan Blunck1-1/+1
2008-02-07memcgroup: reinstate swapoff modHugh Dickins1-8/+34
2008-02-07Memory controller: make charging gfp mask awareBalbir Singh1-1/+1
2008-02-07Memory controller: memory accountingBalbir Singh1-17/+24
2008-02-07memcgroup: temporarily revert swapoff modHugh Dickins1-31/+7
2008-02-05tmpfs: open a window in shmem_unuse_inodeHugh Dickins1-13/+10
2008-02-05swapoff: scan ptes preemptiblyHugh Dickins1-7/+31
2008-02-05swapin: fix valid_swaphandles defectHugh Dickins1-16/+33
2008-02-05swapin needs gfp_mask for loop on tmpfsHugh Dickins1-1/+2
2007-07-29Replace CONFIG_SOFTWARE_SUSPEND with CONFIG_HIBERNATIONRafael J. Wysocki1-3/+3
2007-07-16vmscan: fix comments related to shrink_list()Anderson Briglia1-1/+1
2007-05-07mm: make read_cache_page synchronousNick Piggin1-3/+0
2007-01-05[PATCH] swsusp: Do not fail if resume device is not setRafael J. Wysocki1-1/+7
2006-12-08[PATCH] mm: change uses of f_{dentry,vfsmnt} to use f_pathJosef "Jeff" Sipek1-2/+2
2006-12-07[PATCH] struct seq_operations and struct file_operations constificationHelge Deller1-2/+2
2006-12-07[PATCH] swsusp: use block device offsets to identify swap locationsRafael J. Wysocki1-0/+17
2006-12-07[PATCH] swsusp: use partition device and offset to identify swap areasRafael J. Wysocki1-12/+26
2006-12-07[PATCH] reject corrupt swapfiles earlierEric Sandeen1-6/+5
2006-12-07[PATCH] Always print out the header line in /proc/swapsSuleiman Souhlal1-5/+17
2006-09-29[PATCH] valid_swaphandles() fixHugh Dickins1-3/+4
2006-08-27[PATCH] swsusp: Fix swap_type_ofRafael J. Wysocki1-1/+2
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-23[PATCH] read_mapping_page for address spacePekka Enberg1-2/+1