summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-02-22 22:29:24 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-22 22:29:24 -0500
commitbc49a7831b1137ce1c2dda1c57e3631655f5d2ae (patch)
tree469380ac3a17e1d927ccf06abc99b6f509deb24a /init
parentbe5165a51d2500ae1afa1236a8b09858831fdf7e (diff)
parentf201ebd87652cf1519792f8662bb3f862c76aa33 (diff)
Merge branch 'akpm' (patches from Andrew)
Merge updates from Andrew Morton: "142 patches: - DAX updates - various misc bits - OCFS2 updates - most of MM" * emailed patches from Andrew Morton <akpm@linux-foundation.org>: (142 commits) mm/z3fold.c: limit first_num to the actual range of possible buddy indexes mm: fix <linux/pagemap.h> stray kernel-doc notation zram: remove obsolete sysfs attrs mm/memblock.c: remove unnecessary log and clean up oom-reaper: use madvise_dontneed() logic to decide if unmap the VMA mm: drop unused argument of zap_page_range() mm: drop zap_details::check_swap_entries mm: drop zap_details::ignore_dirty mm, page_alloc: warn_alloc nodemask is NULL when cpusets are disabled mm: help __GFP_NOFAIL allocations which do not trigger OOM killer mm, oom: do not enforce OOM killer for __GFP_NOFAIL automatically mm: consolidate GFP_NOFAIL checks in the allocator slowpath lib/show_mem.c: teach show_mem to work with the given nodemask arch, mm: remove arch specific show_mem mm, page_alloc: warn_alloc print nodemask mm, page_alloc: do not report all nodes in show_mem Revert "mm: bail out in shrink_inactive_list()" mm, vmscan: consider eligible zones in get_scan_count mm, vmscan: cleanup lru size claculations mm, vmscan: do not count freed pages as PGDEACTIVATE ...
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 483ad679aa37..8c39615165b7 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1781,6 +1781,20 @@ config SLUB_DEBUG
1781 SLUB sysfs support. /sys/slab will not exist and there will be 1781 SLUB sysfs support. /sys/slab will not exist and there will be
1782 no support for cache validation etc. 1782 no support for cache validation etc.
1783 1783
1784config SLUB_MEMCG_SYSFS_ON
1785 default n
1786 bool "Enable memcg SLUB sysfs support by default" if EXPERT
1787 depends on SLUB && SYSFS && MEMCG
1788 help
1789 SLUB creates a directory under /sys/kernel/slab for each
1790 allocation cache to host info and debug files. If memory
1791 cgroup is enabled, each cache can have per memory cgroup
1792 caches. SLUB can create the same sysfs directories for these
1793 caches under /sys/kernel/slab/CACHE/cgroup but it can lead
1794 to a very high number of debug files being created. This is
1795 controlled by slub_memcg_sysfs boot parameter and this
1796 config option determines the parameter's default value.
1797
1784config COMPAT_BRK 1798config COMPAT_BRK
1785 bool "Disable heap randomization" 1799 bool "Disable heap randomization"
1786 default y 1800 default y