mm: hide the FRONTSWAP Kconfig symbol

Select FRONTSWAP from ZSWAP instead of prompting for it.

Link: https://lkml.kernel.org/r/20211224062246.1258487-14-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Christoph Hellwig and committed by Linus Torvalds 6e61dde8 1da0d94a

+3 -15
+3 -15
mm/Kconfig
··· 445 bool 446 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. 462 463 config CMA 464 bool "Contiguous Memory Allocator" ··· 510 511 config ZSWAP 512 bool "Compressed cache for swap pages (EXPERIMENTAL)" 513 - depends on FRONTSWAP && CRYPTO=y 514 select ZPOOL 515 help 516 A lightweight compressed cache for swap pages. It takes
··· 445 bool 446 447 config FRONTSWAP 448 + bool 449 450 config CMA 451 bool "Contiguous Memory Allocator" ··· 523 524 config ZSWAP 525 bool "Compressed cache for swap pages (EXPERIMENTAL)" 526 + depends on SWAP && CRYPTO=y 527 + select FRONTSWAP 528 select ZPOOL 529 help 530 A lightweight compressed cache for swap pages. It takes