aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2024-04-29 03:23:08 -0700
committerJens Axboe <[email protected]>2024-05-13 21:47:51 -0600
commit9ead7efc6f3f2b46c4ec68209bca4888cfbd4c19 (patch)
tree0d37dea37e26de6b60b6072a928cd5c6c33f8d1b /lib/test_fortify/write_overflow-strncpy-src.c
parent25260555b118e71c64dfdb6786144f654fe1a27d (diff)
brd: implement discard support
The ramdisk memory utilization can only go up when data is written to new pages. Implement discard to provide the possibility to reduce memory usage for pages no longer in use. Aligned discards will free the associated pages, if any, and determinisitically return zeroed data until written again. Signed-off-by: Keith Busch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions