]> www.infradead.org Git - users/sagi/blktests.git/commit
block/034: Test memory is released by null-blk driver with memory_backed=1
authorNitesh Shetty <nj.shetty@samsung.com>
Wed, 14 Jun 2023 17:06:42 +0000 (22:36 +0530)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thu, 15 Jun 2023 04:36:00 +0000 (13:36 +0900)
commit154e6528ad9da86f20b00c9150e5a6255ccd8b13
tree8029c91f943cc83180599f1093c3d1b15813dbc4
parent11779babd6416278528dc1d0550d12771ce91e2c
block/034: Test memory is released by null-blk driver with memory_backed=1

This tests memory leak, by loading/unloading nullblk driver.
Steps:
1. Load nullblk driver with memory_backed=1
2. "dd" of 50M
3. Unload null-blk driver
We do it for 5 iterations to avoid any noise.

Commit 8cfb98196cceec35416041c6b91212d2b99392e4 fixes issue in kernel

Signed-off-by: Nitesh Shetty <nj.shetty@samsung.com>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
tests/block/034 [new file with mode: 0644]
tests/block/034.out [new file with mode: 0644]