Re: [PATCH v1 1/1] ACPI: Switch to use list_entry_is_head() helper

Andy Shevchenko
2022-03-02T15:51:15Z

On Fri, Feb 11, 2022 at 01:04:23PM +0200, Andy Shevchenko wrote:
> Since we got list_entry_is_head() helper in the generic header,
> we may switch the ACPI modules to use it. This eliminates the
> need in additional variable. In some cases it reduces critical
> sections as well.

Besides the work required in a couple of cases (LKP) there is an
ongoing discussion about list loops (and this particular API).

Rafael, what do you think is the best course of action here?

--
With Best Regards,
Andy Shevchenko