[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZJnHPdJVbUyq06k7@google.com>
Date: Mon, 26 Jun 2023 10:13:33 -0700
From: Minchan Kim <minchan@...nel.org>
To: Sergey Senozhatsky <senozhatsky@...omium.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Alexey Romanov <AVRomanov@...rdevices.ru>
Subject: Re: [PATCHv2 1/3] zsmalloc: do not scan for allocated objects in
empty zspage
On Sat, Jun 24, 2023 at 02:12:14PM +0900, Sergey Senozhatsky wrote:
> zspage migration can terminate as soon as it moves the last
> allocated object from the source zspage. Add a simple helper
> zspage_empty() that tests zspage ->inuse on each migration
> iteration.
>
> Suggested-by: Alexey Romanov <AVRomanov@...rdevices.ru>
> Signed-off-by: Sergey Senozhatsky <senozhatsky@...omium.org>
Acked-by: Minchan Kim <minchan@...nel.org>
Powered by blists - more mailing lists