aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
AgeCommit message (Expand)AuthorFilesLines
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
2006-06-23[PATCH] swapoff: use atomic_inc_not_zero() on mm_usersHugh Dickins1-3/+1
2006-06-23[PATCH] Swapless page migration: rip out swap based logicChristoph Lameter1-9/+0
2006-06-23[PATCH] Swapless page migration: add R/W migration entriesChristoph Lameter1-13/+7
2006-06-23[PATCH] migration: remove unnecessary PageSwapCache checksChristoph Lameter1-7/+0
2006-03-31[PATCH] mm: schedule find_trylock_page() removalNick Piggin1-4/+10
2006-03-23[PATCH] swsusp: userland interfaceRafael J. Wysocki1-2/+4
2006-03-23[PATCH] swsusp: low level interfaceRafael J. Wysocki1-1/+54
2006-03-22[PATCH] fix swap cluster offsetAkinobu Mita1-1/+1
2006-02-01[PATCH] Direct Migration V9: remove_from_swap() to remove swap ptesChristoph Lameter1-0/+9
2006-02-01[PATCH] Direct Migration V9: PageSwapCache checksChristoph Lameter1-0/+7
2006-01-18[PATCH] sem2mutex: mm/slab.cIngo Molnar1-8/+9
2006-01-11[PATCH] move capable() to capability.hRandy.Dunlap1-0/+1
2006-01-11add missing printk loglevel in mm/swapfile.cJesper Juhl1-1/+1
2006-01-09[PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_semJes Sorensen1-4/+4
2006-01-08[PATCH] mm: clean up local variablesTobias Klauser1-6/+6
2006-01-06[PATCH] mm: add a new function (needed for swap suspend)Rafael J. Wysocki1-0/+20
2005-11-07[PATCH] mm/swapfile.c: unexport total_swap_pagesAdrian Bunk1-2/+0
2005-10-29[PATCH] mm: split page table lockHugh Dickins1-6/+6
2005-10-29[PATCH] mm: pte_offset_map_lock loopsHugh Dickins1-11/+9
2005-10-29[PATCH] mm: rss = file_rss + anon_rssHugh Dickins1-1/+1
2005-10-29[PATCH] mm: anon is already wrprotectedHugh Dickins1-4/+3
2005-09-22[PATCH] Fix bd_claim() error code.Rob Landley1-0/+1
2005-09-10[PATCH] mm: fix-up schedule_timeout() usageNishanth Aravamudan1-2/+1
2005-09-05[PATCH] swap: swap_lock replace list+deviceHugh Dickins1-72/+53
2005-09-05[PATCH] swap: scan_swap_map latency breaksHugh Dickins1-2/+12
2005-09-05[PATCH] swap: scan_swap_map drop swap_device_lockHugh Dickins1-7/+35
2005-09-05[PATCH] swap: scan_swap_map restyledHugh Dickins1-45/+48
2005-09-05[PATCH] swap: get_swap_page drop swap_list_lockHugh Dickins1-39/+36
2005-09-05[PATCH] swap: freeing update swap_list.nextHugh Dickins1-2/+2
2005-09-05[PATCH] swap: swap unsigned int consistencyHugh Dickins1-9/+10
2005-09-05[PATCH] swap: show span of swap extentsHugh Dickins1-14/+30
2005-09-05[PATCH] swap: swap extent list is orderedHugh Dickins1-18/+9
2005-09-05[PATCH] swap: move destroy_swap_extents callsHugh Dickins1-2/+2
2005-09-05[PATCH] swap: correct swapfile nr_good_pagesHugh Dickins1-9/+16
2005-09-05[PATCH] swap: update swapfile i_sem commentHugh Dickins1-1/+1
2005-06-21[PATCH] can_share_swap_page: use page_mapcountHugh Dickins1-39/+16