OpenCloudOS-Kernel/drivers/staging/android
Mel Gorman 11fb998986 mm: move most file-based accounting to the node
There are now a number of accounting oddities such as mapped file pages
being accounted for on the node while the total number of file pages are
accounted on the zone.  This can be coped with to some extent but it's
confusing so this patch moves the relevant file-based accounted.  Due to
throttling logic in the page allocator for reliable OOM detection, it is
still necessary to track dirty and writeback pages on a per-zone basis.

[mgorman@techsingularity.net: fix NR_ZONE_WRITE_PENDING accounting]
  Link: http://lkml.kernel.org/r/1468404004-5085-5-git-send-email-mgorman@techsingularity.net
Link: http://lkml.kernel.org/r/1467970510-21195-20-git-send-email-mgorman@techsingularity.net
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Rik van Riel <riel@surriel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-07-28 16:07:41 -07:00
..
ion staging: android: ion: dummy: fix dereference of ERR_PTR 2016-04-29 17:40:50 -07:00
trace staging/android: rename sync.h to sync_debug.h 2016-06-17 21:17:40 -07:00
uapi staging/android: make sw_ioctl info internal to sw_sync.c 2016-06-17 21:17:40 -07:00
Kconfig staging/android: add DEBUG_FS dependence on Kconfig 2016-06-17 21:17:40 -07:00
Makefile staging/android: make sync_timeline internal to sw_sync 2016-06-17 21:17:40 -07:00
TODO staging/android: add TODO to de-stage android sync framework 2015-12-14 11:05:45 -08:00
ashmem.c Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 19:08:56 -07:00
ashmem.h staging: android: Split uapi out of ashmem.h 2014-02-18 11:03:28 -08:00
lowmemorykiller.c mm: move most file-based accounting to the node 2016-07-28 16:07:41 -07:00
sw_sync.c staging/android: rename sync.h to sync_debug.h 2016-06-17 21:17:40 -07:00
sync_debug.c staging/android: sync_debug: unproxify debugfs files' fops 2016-06-17 21:24:41 -07:00
sync_debug.h staging/android: add DEBUG_FS dependence on Kconfig 2016-06-17 21:17:40 -07:00