An error occurred while fetching folder content.
mm: rename page_counter's count/limit into usage/max
Roman Gushchin authored
This patch renames struct page_counter fields:
  count -> usage
  limit -> max

and the corresponding functions:
  page_counter_limit() -> page_counter_set_max()
  mem_cgroup_get_limit() -> mem_cgroup_get_max()
  mem_cgroup_resize_limit() -> mem_cgroup_resize_max()
  memcg_update_kmem_limit() -> memcg_update_kmem_max()
  memcg_update_tcp_limit() -> memcg_update_tcp_max()

The idea behind this renaming is to have the direct matching
between memory cgroup knobs (low, high, max) and page_counters API.

This is pure renaming, this patch doesn't bring any functional change.

Link: http://lkml.kernel.org/r/20180405185921.4942-1-guro@fb.com

Signed-off-by: default avatarRoman Gushchin <guro@fb.com>
Acked-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
bbec2e15
Name Last commit Last update
..
kasan kasan: fix memory hotplug during boot
Kconfig mm: introduce ARCH_HAS_PTE_SPECIAL
Kconfig.debug kmemcheck: rip it out
Makefile mm: restructure memfd code
backing-dev.c bdi: Move cgroup bdi_writeback to a dedicated low concurrency workqueue
balloon_compaction.c virtio_balloon: fix deadlock on OOM
bootmem.c mm: docs: fix parameter names mismatch
cleancache.c docs/vm: rename documentation files to .rst
cma.c Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
cma.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license
cma_debug.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license
compaction.c Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
debug.c mm/debug.c: provide useful debugging information for VM_BUG
debug_page_ref.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license
dmapool.c lib/vsprintf.c: remove %Z support
early_ioremap.c mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep
fadvise.c mm: add ksys_fadvise64_64() helper; remove in-kernel call to sys_fadvise64_64()
failslab.c mm: make should_failslab always available for fault injection
filemap.c mm/filemap.c: fix NULL pointer in page_cache_tree_insert()
frame_vector.c mm/frame_vector.c: release a semaphore in 'get_vaddr_frames()'
frontswap.c docs/vm: rename documentation files to .rst
gup.c mm: introduce ARCH_HAS_PTE_SPECIAL
gup_benchmark.c mm/gup_benchmark: handle gup failures
highmem.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license
hmm.c Merge branch 'mm-rst' into docs-next
huge_memory.c
hugetlb.c
hugetlb_cgroup.c
hwpoison-inject.c
init-mm.c
internal.h
interval_tree.c
khugepaged.c
kmemleak-test.c
kmemleak.c
ksm.c
list_lru.c
maccess.c
madvise.c
memblock.c
memcontrol.c
memfd.c
memory-failure.c
memory.c
memory_hotplug.c
mempolicy.c
mempool.c
memtest.c
migrate.c
mincore.c
mlock.c
mm_init.c
mmap.c
mmu_context.c
mmu_notifier.c
mmzone.c
mprotect.c
mremap.c
msync.c
nobootmem.c
nommu.c
oom_kill.c
page-writeback.c
page_alloc.c
page_counter.c
page_ext.c
page_idle.c
page_io.c
page_isolation.c
page_owner.c
page_poison.c
page_vma_mapped.c
pagewalk.c
percpu-internal.h
percpu-km.c
percpu-stats.c
percpu-vm.c
percpu.c
pgtable-generic.c
process_vm_access.c
quicklist.c
readahead.c
rmap.c
rodata_test.c
shmem.c
slab.c
slab.h
slab_common.c
slob.c
slub.c
sparse-vmemmap.c
sparse.c
swap.c
swap_cgroup.c
swap_slots.c
swap_state.c
swapfile.c
truncate.c
usercopy.c
userfaultfd.c