android_kernel_xiaomi_sm7250/mm
Rik van Riel 68a22394c2 vmscan: free swap space on swap-in/activation
If vm_swap_full() (swap space more than 50% full), the system will free
swap space at swapin time.  With this patch, the system will also free the
swap space in the pageout code, when we decide that the page is not a
candidate for swapout (and just wasting swap space).

Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Signed-off-by: MinChan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:50:25 -07:00
..
allocpercpu.c
backing-dev.c
bootmem.c misc: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
bounce.c
dmapool.c
fadvise.c Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
filemap_xip.c
filemap.c Merge branch 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-16 15:17:40 -07:00
fremap.c
highmem.c
hugetlb.c hugetlb: handle updating of ACCESSED and DIRTY in hugetlb_fault() 2008-10-16 11:21:29 -07:00
internal.h vmscan: move isolate_lru_page() to vmscan.c 2008-10-20 08:50:25 -07:00
Kconfig Merge branch 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-10-16 15:17:40 -07:00
maccess.c
madvise.c
Makefile
memcontrol.c vmscan: Use an indexed array for LRU variables 2008-10-20 08:50:25 -07:00
memory_hotplug.c vmscan: move isolate_lru_page() to vmscan.c 2008-10-20 08:50:25 -07:00
memory.c
mempolicy.c vmscan: move isolate_lru_page() to vmscan.c 2008-10-20 08:50:25 -07:00
mempool.c
migrate.c swap: use an array for the LRU pagevecs 2008-10-20 08:50:25 -07:00
mincore.c
mlock.c
mm_init.c
mmap.c
mmu_notifier.c
mmzone.c
mprotect.c
mremap.c
msync.c
nommu.c
oom_kill.c
page_alloc.c vmscan: Use an indexed array for LRU variables 2008-10-20 08:50:25 -07:00
page_io.c
page_isolation.c
page-writeback.c Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
pagewalk.c
pdflush.c Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
prio_tree.c
quicklist.c
readahead.c Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
rmap.c anon_vma_prepare: properly lock even newly allocated entries 2008-10-19 11:50:35 -07:00
shmem_acl.c
shmem.c Export shmem_file_setup for DRM-GEM 2008-10-18 07:10:11 +10:00
slab.c
slob.c
slub.c
sparse-vmemmap.c
sparse.c
swap_state.c
swap.c vmscan: free swap space on swap-in/activation 2008-10-20 08:50:25 -07:00
swapfile.c vmscan: free swap space on swap-in/activation 2008-10-20 08:50:25 -07:00
thrash.c
tiny-shmem.c
truncate.c Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
util.c
vmalloc.c
vmscan.c vmscan: free swap space on swap-in/activation 2008-10-20 08:50:25 -07:00
vmstat.c vmscan: Use an indexed array for LRU variables 2008-10-20 08:50:25 -07:00