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 Merge tag 'docs-4.18' of git://git.lwn.net/linux
hugetlb.c Merge branch 'mm-rst' into docs-next
hugetlb_cgroup.c mm: rename page_counter's count/limit into usage/max
hwpoison-inject.c mm/memory_failure: Remove unused trapno from memory_failure
init-mm.c mm: introduce arg_lock to protect arg_start|end and env_start|end in mm_struct
internal.h Merge tag 'xfs-4.18-merge-3' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
interval_tree.c mm/interval_tree.c: use vma_pages() helper
khugepaged.c page cache: use xa_lock
kmemleak-test.c mm: convert printk(KERN_<LEVEL> to pr_<level>
kmemleak.c mm: kernel-doc: add missing parameter descriptions
ksm.c mm/ksm: docs: extend overview comment and make it "DOC:"
list_lru.c mm: make counting of list_lru_one::nr_items lockless
maccess.c mm: docs: fix parameter names mismatch
madvise.c mm/memory_failure: Remove unused trapno from memory_failure
memblock.c mm/memblock: introduce PHYS_ADDR_MAX
memcontrol.c mm: rename page_counter's count/limit into usage/max
memfd.c mm: restructure memfd code
memory-failure.c mm, migrate: remove reason argument from new_page_t
memory.c mm: remove odd HAVE_PTE_SPECIAL
memory_hotplug.c mm/memory_hotplug: fix leftover use of struct page during hotplug
mempolicy.c mm: unclutter THP migration
mempool.c mempool: Add mempool_init()/mempool_exit()
memtest.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license
migrate.c mm: migrate: fix double call of radix_tree_replace_slot()
mincore.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license
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