Re: [PATCH] z3fold: encode object length in the handle

From: Andrew Morton
Date: Thu Oct 25 2018 - 15:42:53 EST


On Thu, 25 Oct 2018 11:28:21 +0200 Vitaly Wool <vitalywool@xxxxxxxxx> 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.