[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87v7y4t85p.ffs@tglx>
Date: Mon, 07 Oct 2024 14:22:10 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: "Leizhen (ThunderTown)" <thunder.leizhen@...wei.com>, Andrew Morton
<akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org, David Gow
<davidgow@...gle.com>, linux-kselftest@...r.kernel.org,
kunit-dev@...glegroups.com
Subject: Re: [PATCH 3/3] debugobjects: Use hlist_cut_number() to optimize
performance and improve readability
On Wed, Sep 11 2024 at 10:54, Thomas Gleixner wrote:
> On Wed, Sep 11 2024 at 15:44, Leizhen wrote:
>> 2. Member tot_cnt of struct global_pool can be deleted. We can get it
>> simply and quickly through (slot_idx * ODEBUG_BATCH_SIZE). Avoid
>> redundant maintenance.
>
> Agreed.
>
>> 3. debug_objects_pool_min_level also needs to be adjusted accordingly,
>> the number of batches of the min level.
>
> Sure. There are certainly more problems with that code. As I said, it's
> untested and way to big to be reviewed. I'll split it up into more
> manageable bits and pieces.
I finally found some time and ended up doing it differently. I'll send
out the patches later today.
Thanks,
tglx
Powered by blists - more mailing lists