[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHp75VexnrOZua3j-v2y4mfcC0+LptRZ6jJX0vEX+OKqnLsZUw@mail.gmail.com>
Date: Fri, 3 Jun 2022 21:26:04 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 1/1] rbtree: Replace kernel.h with the necessary inclusions
On Fri, Jun 3, 2022 at 9:16 PM Andrew Morton <akpm@...ux-foundation.org> wrote:
> On Fri, 3 Jun 2022 20:10:12 +0300 Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
>
> > When kernel.h is used in the headers it adds a lot into dependency hell,
> > especially when there are circular dependencies are involved.
> >
> > Replace kernel.h inclusion with the list of what is really being used.
>
> There are surely thousands of files we could do this with.
Yes, but the idea is to touch only (global / generic) headers to clean
up them from kernel.h.
> Is this the
> start of a lifelong project,
Continuation of something which annoys me for a long time. We have not
so many, btw, files that are generic and include kernel.h in the
include/*.
> or is there something special about
> rbtree.h?
Nothing except that header being included in many other modules.
I believe this work goes in conjunction with Ingo's huge clean up
series. Not sure where it's now.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists