summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorNitesh Shetty <nj.shetty@samsung.com>2023-06-05 09:23:53 +0300
committerJens Axboe <axboe@kernel.dk>2023-06-06 01:15:35 +0300
commit8cfb98196cceec35416041c6b91212d2b99392e4 (patch)
tree16ed2fd5af84c8a9e805fd315bd705026a2c17c3 /scripts/gdb/linux/vmalloc.py
parentddad59331a4e16088468ca0ad228a9fe32d7955a (diff)
downloadlinux-8cfb98196cceec35416041c6b91212d2b99392e4.tar.xz
null_blk: Fix: memory release when memory_backed=1
Memory/pages are not freed, when unloading nullblk driver. Steps to reproduce issue 1.free -h total used free shared buff/cache available Mem: 7.8Gi 260Mi 7.1Gi 3.0Mi 395Mi 7.3Gi Swap: 0B 0B 0B 2.modprobe null_blk memory_backed=1 3.dd if=/dev/urandom of=/dev/nullb0 oflag=direct bs=1M count=1000 4.modprobe -r null_blk 5.free -h total used free shared buff/cache available Mem: 7.8Gi 1.2Gi 6.1Gi 3.0Mi 398Mi 6.3Gi Swap: 0B 0B 0B Signed-off-by: Anuj Gupta <anuj20.g@samsung.com> Signed-off-by: Nitesh Shetty <nj.shetty@samsung.com> Link: https://lore.kernel.org/r/20230605062354.24785-1-nj.shetty@samsung.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions