lineage_android_kernel_sams.../mm
Rik van Riel 04e6498839 add extra free kbytes tunable
Add a userspace visible knob to tell the VM to keep an extra amount
of memory free, by increasing the gap between each zone's min and
low watermarks.

This is useful for realtime applications that call system
calls and have a bound on the number of allocations that happen
in any short time period.  In this application, extra_free_kbytes
would be left at an amount equal to or larger than than the
maximum number of allocations that happen in any burst.

It may also be useful to reduce the memory use of virtual
machines (temporarily?), in a way that does not cause memory
fragmentation like ballooning does.

[ccross]
Revived for use on old kernels where no other solution exists.
The tunable will be removed on kernels that do better at avoiding
direct reclaim.

Change-Id: I765a42be8e964bfd3e2886d1ca85a29d60c3bb3e
Signed-off-by: Rik van Riel<riel@redhat.com>
Signed-off-by: Colin Cross <ccross@android.com>
2015-03-18 14:01:23 -05:00
..
Kconfig Import Samsung release ML4 on CAF kk_2.7_rb1.19 2014-03-27 17:42:15 -07:00
Kconfig.debug
Makefile mm: remove swap token code 2014-03-27 17:42:29 -07:00
backing-dev.c
bootmem.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
bounce.c
cleancache.c
compaction.c compaction: fix build error in CMA && !COMPACTION 2014-03-27 17:42:34 -07:00
debug-pagealloc.c debug-pagealloc: Panic on pagealloc corruption 2014-03-27 17:42:42 -07:00
dmapool.c mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls 2014-03-27 17:45:06 -07:00
fadvise.c mm/fadvise.c: drain all pagevecs if POSIX_FADV_DONTNEED fails to discard all pages 2013-02-28 06:59:01 -08:00
failslab.c
filemap.c mm: Don't use CMA page for file cache 2013-08-14 04:35:26 -07:00
filemap_xip.c
fremap.c
highmem.c mm: highmem: don't treat PKMAP_ADDR(LAST_PKMAP) as a highmem address 2014-06-11 12:04:22 -07:00
huge_memory.c mm, thp: fix collapsing of hugepages on madvise 2015-02-02 17:05:07 +08:00
hugetlb.c mm: hugetlb: fix copy_hugetlb_page_range() 2014-07-31 12:54:52 -07:00
hwpoison-inject.c
init-mm.c
internal.h Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
kmemcheck.c
kmemleak-test.c
kmemleak.c mm: kmemleak: avoid false negatives on vmalloc'ed objects 2014-07-31 12:54:53 -07:00
ksm.c ksm: Provide support to use deferred timers for scanner thread 2015-03-03 17:34:32 -06:00
maccess.c
madvise.c mm: add a field to store names for private anonymous memory 2014-03-27 17:42:41 -07:00
memblock.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
memcontrol.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
memory-failure.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
memory.c This is the 3.4.106 stable release 2015-02-02 18:43:42 -06:00
memory_hotplug.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
mempolicy.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-09-25 06:03:41 -05:00
mempool.c
migrate.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-12.0 2014-12-27 23:41:33 -06:00
mincore.c
mlock.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
mm_init.c
mmap.c This is the 3.4.106 stable release 2015-02-02 18:43:42 -06:00
mmu_context.c
mmu_notifier.c mm: mmu_notifier: re-fix freed page still mapped in secondary MMU 2013-06-07 12:49:25 -07:00
mmzone.c
mprotect.c mm: add a field to store names for private anonymous memory 2014-03-27 17:42:41 -07:00
mremap.c
msync.c
nobootmem.c
nommu.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
oom_kill.c OOM, PM: OOM killed task shouldn't escape PM suspend 2015-02-02 17:04:55 +08:00
page-writeback.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
page_alloc.c add extra free kbytes tunable 2015-03-18 14:01:23 -05:00
page_cgroup.c cgroup/kmemleak: add kmemleak_free() for cgroup deallocations. 2015-02-02 17:05:07 +08:00
page_io.c mm: swap: Rate limit swap write errors 2014-03-27 17:42:43 -07:00
page_isolation.c
pagewalk.c mm/pagewalk.c: walk_page_range should avoid VM_PFNMAP areas 2013-06-07 12:49:28 -07:00
percpu-km.c
percpu-vm.c percpu: perform tlb flush after pcpu_map_pages() failure 2014-12-01 18:02:23 +08:00
percpu.c Revert "percpu: free percpu allocation info for uniprocessor system" 2015-02-02 17:04:38 +08:00
pgtable-generic.c
prio_tree.c
process_vm_access.c Fix: compat_rw_copy_check_uvector() misuse in aio, readv, writev, and security keys 2013-03-14 11:29:51 -07:00
quicklist.c
readahead.c mm: pass readahead info down to the i/o scheduler 2014-03-27 17:42:40 -07:00
rmap.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
shmem.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-12.0 2014-12-27 23:41:33 -06:00
slab.c cpuset: PF_SPREAD_PAGE and PF_SPREAD_SLAB should be atomic flags 2014-12-01 18:02:38 +08:00
slob.c
slub.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-09-25 06:03:41 -05:00
sparse-vmemmap.c
sparse.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
swap.c mm: hugetlbfs: fix hugetlbfs optimization 2014-02-06 11:05:46 -08:00
swap_state.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
swapfile.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
truncate.c mm: Remove false WARN_ON from pagecache_isize_extended() 2015-02-02 17:05:24 +08:00
util.c
vmalloc.c Merge remote-tracking branch 'korg/linux-3.4.y' into cm-11.0 2014-08-13 23:51:05 -05:00
vmscan.c jf: merge GT-I9505_KK_Opensource_Update9 2014-08-19 19:23:27 -05:00
vmstat.c mm: compaction: Add scanned and isolated counters for compaction 2014-03-27 17:42:34 -07:00