[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181025124249.0ba63f1041ed8836ff6e6190@linux-foundation.org>
Date: Thu, 25 Oct 2018 12:42:49 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Vitaly Wool <vitalywool@...il.com>
Cc: Linux-MM <linux-mm@...ck.org>, linux-kernel@...r.kernel.org,
Oleksiy.Avramchenko@...y.com, Guenter Roeck <linux@...ck-us.net>
Subject: Re: [PATCH] z3fold: encode object length in the handle
On Thu, 25 Oct 2018 11:28:21 +0200 Vitaly Wool <vitalywool@...il.com> wrote:
> Reclaim and free can race on an object (which is basically ok) but
> in order for reclaim to be able to map "freed" object we need to
> encode object length in the handle. handle_to_chunks() is thus
> introduced to extract object length from a handle and use it during
> mapping of the last object we couldn't correctly map before.
What are the runtime effects of this change?
Thanks.
Powered by blists - more mailing lists