aboutsummaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-08-28 18:41:59 -0400
committerAlexander Graf <agraf@suse.de>2013-08-28 18:41:59 -0400
commitbf550fc93d9855872a95e69e4002256110d89858 (patch)
tree10876bb4304bffe54c4160a132e7b8de6577ac4e /mm/Kconfig
parent7e48c101e0c53e6095c5f4f5e63d14df50aae8fc (diff)
parentcc2df20c7c4ce594c3e17e9cc260c330646012c8 (diff)
Merge remote-tracking branch 'origin/next' into kvm-ppc-next
Conflicts: mm/Kconfig CMA DMA split and ZSWAP introduction were conflicting, fix up manually.
Diffstat (limited to 'mm/Kconfig')
-rw-r--r--mm/Kconfig42
1 files changed, 42 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 81bcb4bd422d..6cdd27043303 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -501,3 +501,45 @@ config CMA_DEBUG
501 messages for every CMA call as well as various messages while 501 messages for every CMA call as well as various messages while
502 processing calls such as dma_alloc_from_contiguous(). 502 processing calls such as dma_alloc_from_contiguous().
503 This option does not affect warning and error messages. 503 This option does not affect warning and error messages.
504
505config ZBUD
506 tristate
507 default n
508 help
509 A special purpose allocator for storing compressed pages.
510 It is designed to store up to two compressed pages per physical
511 page. While this design limits storage density, it has simple and
512 deterministic reclaim properties that make it preferable to a higher
513 density approach when reclaim will be used.
514
515config ZSWAP
516 bool "Compressed cache for swap pages (EXPERIMENTAL)"
517 depends on FRONTSWAP && CRYPTO=y
518 select CRYPTO_LZO
519 select ZBUD
520 default n
521 help
522 A lightweight compressed cache for swap pages. It takes
523 pages that are in the process of being swapped out and attempts to
524 compress them into a dynamically allocated RAM-based memory pool.
525 This can result in a significant I/O reduction on swap device and,
526 in the case where decompressing from RAM is faster that swap device
527 reads, can also improve workload performance.
528
529 This is marked experimental because it is a new feature (as of
530 v3.11) that interacts heavily with memory reclaim. While these
531 interactions don't cause any known issues on simple memory setups,
532 they have not be fully explored on the large set of potential
533 configurations and workloads that exist.
534
535config MEM_SOFT_DIRTY
536 bool "Track memory changes"
537 depends on CHECKPOINT_RESTORE && HAVE_ARCH_SOFT_DIRTY
538 select PROC_PAGE_MONITOR
539 help
540 This option enables memory changes tracking by introducing a
541 soft-dirty bit on pte-s. This bit it set when someone writes
542 into a page just as regular dirty bit, but unlike the latter
543 it can be cleared by hands.
544
545 See Documentation/vm/soft-dirty.txt for more details.