File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -445,20 +445,7 @@ config HAVE_SETUP_PER_CPU_AREA
445
445
bool
446
446
447
447
config FRONTSWAP
448
- bool "Enable frontswap to cache swap pages if tmem is present"
449
- depends on SWAP
450
- help
451
- Frontswap is so named because it can be thought of as the opposite
452
- of a "backing" store for a swap device. The data is stored into
453
- "transcendent memory", memory that is not directly accessible or
454
- addressable by the kernel and is of unknown and possibly
455
- time-varying size. When space in transcendent memory is available,
456
- a significant swap I/O reduction may be achieved. When none is
457
- available, all frontswap calls are reduced to a single pointer-
458
- compare-against-NULL resulting in a negligible performance hit
459
- and swap data is stored as normal on the matching swap device.
460
-
461
- If unsure, say Y to enable frontswap.
448
+ bool
462
449
463
450
config CMA
464
451
bool "Contiguous Memory Allocator"
@@ -523,7 +510,8 @@ config MEM_SOFT_DIRTY
523
510
524
511
config ZSWAP
525
512
bool "Compressed cache for swap pages (EXPERIMENTAL)"
526
- depends on FRONTSWAP && CRYPTO=y
513
+ depends on SWAP && CRYPTO=y
514
+ select FRONTSWAP
527
515
select ZPOOL
528
516
help
529
517
A lightweight compressed cache for swap pages. It takes
You can’t perform that action at this time.
0 commit comments