[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4cb63482-82e4-36b5-dce9-078d0946c71e@gmail.com>
Date: Wed, 5 Apr 2023 14:58:34 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Jan Kiszka <jan.kiszka@...mens.com>,
Kieran Bingham <kbingham@...nel.org>,
akpm@...ux-foundation.org, kapil.hali@...adcom.com
Subject: Re: [PATCH] scripts/gdb: add a Radix Tree Parser
On 4/4/23 14:40, Florian Fainelli wrote:
[snip]
> + shift = node['shift'] + constants.LX_RADIX_TREE_MAP_SHIFT
> +
> + while True:
> + offset = (index >> node['shift']) & constants.LX_RADIX_TREE_MAP_MASK
> + slot = node['slots'][offset]
We need to check for slot == 0 here, unless there are other comments, I
will spin a v2 with that change.
--
Florian
Powered by blists - more mailing lists