linux-yocto/Documentation/admin-guide/blockdev
Sergey Senozhatsky b7c3fd65a3 zram: split memory-tracking and ac-time tracking
[ Upstream commit a7a0350583 ]

ZRAM_MEMORY_TRACKING enables two features:
- per-entry ac-time tracking
- debugfs interface

The latter one is the reason why memory-tracking depends on DEBUG_FS,
while the former one is used far beyond debugging these days.  Namely
ac-time is used for fine grained writeback of idle entries (pages).

Move ac-time tracking under its own config option so that it can be
enabled (along with writeback) on systems without DEBUG_FS.

[senozhatsky@chromium.org: ifdef fixup, per Dmytro]
  Link: https://lkml.kernel.org/r/20231117013543.540280-1-senozhatsky@chromium.org
Link: https://lkml.kernel.org/r/20231115024223.4133148-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Dmytro Maluka <dmaluka@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stable-dep-of: d37da422ed ("zram: clear IDLE flag in mark_idle()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-14 19:59:44 +01:00
..
drbd
floppy.rst
index.rst
nbd.rst docs nbd: userspace NBD now favors github over sourceforge 2023-04-27 19:15:11 -06:00
paride.rst drivers/block: Remove PARIDE core and high-level protocols 2023-01-31 10:41:32 +09:00
ramdisk.rst
zram.rst zram: split memory-tracking and ac-time tracking 2024-12-14 19:59:44 +01:00