perf cpumap: Use existing allocator to avoid using malloc
[linux-2.6-microblaze.git] / mm / Kconfig
index d42423f..f730605 100644 (file)
@@ -707,45 +707,30 @@ config ZSMALLOC
          returned by an alloc().  This handle must be mapped in order to
          access the allocated space.
 
-config ZSMALLOC_PGTABLE_MAPPING
-       bool "Use page table mapping to access object in zsmalloc"
-       depends on ZSMALLOC=y
-       help
-         By default, zsmalloc uses a copy-based object mapping method to
-         access allocations that span two pages. However, if a particular
-         architecture (ex, ARM) performs VM mapping faster than copying,
-         then you should select this. This causes zsmalloc to use page table
-         mapping rather than copying for object mapping.
-
-         You can check speed with zsmalloc benchmark:
-         https://github.com/spartacus06/zsmapbench
-
 config ZSMALLOC_STAT
        bool "Export zsmalloc statistics"
        depends on ZSMALLOC
        select DEBUG_FS
        help
          This option enables code in the zsmalloc to collect various
-         statistics about whats happening in zsmalloc and exports that
+         statistics about what's happening in zsmalloc and exports that
          information to userspace via debugfs.
          If unsure, say N.
 
 config GENERIC_EARLY_IOREMAP
        bool
 
-config MAX_STACK_SIZE_MB
-       int "Maximum user stack size for 32-bit processes (MB)"
-       default 80
+config STACK_MAX_DEFAULT_SIZE_MB
+       int "Default maximum user stack size for 32-bit processes (MB)"
+       default 100
        range 8 2048
        depends on STACK_GROWSUP && (!64BIT || COMPAT)
        help
          This is the maximum stack size in Megabytes in the VM layout of 32-bit
          user processes when the stack grows upwards (currently only on parisc
-         arch). The stack will be located at the highest memory address minus
-         the given value, unless the RLIMIT_STACK hard limit is changed to a
-         smaller value in which case that is used.
+         arch) when the RLIMIT_STACK hard limit is unlimited.
 
-         A sane initial value is 80 MB.
+         A sane initial value is 100 MB.
 
 config DEFERRED_STRUCT_PAGE_INIT
        bool "Defer initialisation of struct pages to kthreads"
@@ -834,13 +819,28 @@ config PERCPU_STATS
          information includes global and per chunk statistics, which can
          be used to help understand percpu memory usage.
 
-config GUP_BENCHMARK
-       bool "Enable infrastructure for get_user_pages() and related calls benchmarking"
+config GUP_TEST
+       bool "Enable infrastructure for get_user_pages()-related unit tests"
+       depends on DEBUG_FS
        help
-         Provides /sys/kernel/debug/gup_benchmark that helps with testing
-         performance of get_user_pages() and related calls.
+         Provides /sys/kernel/debug/gup_test, which in turn provides a way
+         to make ioctl calls that can launch kernel-based unit tests for
+         the get_user_pages*() and pin_user_pages*() family of API calls.
+
+         These tests include benchmark testing of the _fast variants of
+         get_user_pages*() and pin_user_pages*(), as well as smoke tests of
+         the non-_fast variants.
 
-         See tools/testing/selftests/vm/gup_benchmark.c
+         There is also a sub-test that allows running dump_page() on any
+         of up to eight pages (selected by command line args) within the
+         range of user-space addresses. These pages are either pinned via
+         pin_user_pages*(), or pinned via get_user_pages*(), as specified
+         by other command line arguments.
+
+         See tools/testing/selftests/vm/gup_test.c
+
+comment "GUP_TEST needs to have DEBUG_FS enabled"
+       depends on !GUP_TEST && !DEBUG_FS
 
 config GUP_GET_PTE_LOW_HIGH
        bool
@@ -872,4 +872,7 @@ config ARCH_HAS_HUGEPD
 config MAPPING_DIRTY_HELPERS
         bool
 
+config KMAP_LOCAL
+       bool
+
 endmenu