[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168600335395.173234.7376041996345283408.b4-ty@kernel.dk>
Date: Mon, 05 Jun 2023 16:15:53 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Nitesh Shetty <nj.shetty@...sung.com>
Cc: gost.dev@...sung.com, Anuj Gupta <anuj20.g@...sung.com>,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] null_blk: Fix: memory release when memory_backed=1
On Mon, 05 Jun 2023 11:53:53 +0530, Nitesh Shetty wrote:
> 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
>
> [...]
Applied, thanks!
[1/1] null_blk: Fix: memory release when memory_backed=1
commit: 8cfb98196cceec35416041c6b91212d2b99392e4
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists