mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
Memory controller: rename to Memory Resource Controller
Rename Memory Controller to Memory Resource Controller. Reflect the same changes in the CONFIG definition for the Memory Resource Controller. Group together the config options for Resource Counters and Memory Resource Controller. Signed-off-by: Balbir Singh <[email protected]> Cc: Paul Menage <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
804defea1c
commit
00f0b8259e
8 changed files with 30 additions and 26 deletions
|
|
@ -126,7 +126,7 @@ long vm_total_pages; /* The total number of pages which the VM controls */
|
|||
static LIST_HEAD(shrinker_list);
|
||||
static DECLARE_RWSEM(shrinker_rwsem);
|
||||
|
||||
#ifdef CONFIG_CGROUP_MEM_CONT
|
||||
#ifdef CONFIG_CGROUP_MEM_RES_CTLR
|
||||
#define scan_global_lru(sc) (!(sc)->mem_cgroup)
|
||||
#else
|
||||
#define scan_global_lru(sc) (1)
|
||||
|
|
@ -1427,7 +1427,7 @@ unsigned long try_to_free_pages(struct zone **zones, int order, gfp_t gfp_mask)
|
|||
return do_try_to_free_pages(zones, gfp_mask, &sc);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_CGROUP_MEM_CONT
|
||||
#ifdef CONFIG_CGROUP_MEM_RES_CTLR
|
||||
|
||||
unsigned long try_to_free_mem_cgroup_pages(struct mem_cgroup *mem_cont,
|
||||
gfp_t gfp_mask)
|
||||
|
|
|
|||
Loading…
Reference in a new issue