Re: [PATCH v1 1/4] list: Introduce list_count() to count existing nodes

From: Matthew Wilcox
Date: Mon Nov 14 2022 - 12:47:26 EST


On Mon, Nov 14, 2022 at 06:03:00PM +0200, Andy Shevchenko wrote:
> Oh, nice! I will fix this for v2.

list_count() is an antipattern. I don't have any of the patches in
my inbox, so maybe there's a great reason for doing this, but my
immediate response is: NAK.