lkml.org 
[lkml]   [2021]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 00/17] Add memberof(), split some headers, and slightly simplify code
    From


    On 11/19/21 17:37, Andy Shevchenko wrote:
    > On Fri, Nov 19, 2021 at 05:12:19PM +0100, Alejandro Colomar (man-pages) wrote:
    >> On 11/19/21 16:57, Arnd Bergmann wrote:
    >
    > ...
    >
    >>> On the plus side, I did see something on the order of a 30%
    >>> compile speed improvement with clang, which is insane
    >>> given that this only removed dead definitions.
    >>
    >> Huh!
    >>
    >> I'd like to see the kernel some day
    >> not having _any_ hidden dependencies.
    >
    > It's neither feasible nor practical. If we know the hard dependencies between
    > headers, why should we not use implicit inclusion?
    >
    > We all know that bitmap.h includes bitops.h and this is good and a must, why
    > to avoid this?
    >

    Well, none at all may be too much.
    But being close to it would simplify much changing and especially
    understanding the code.

    At least avoiding 10 levels of indirection of includes
    would be a good start :)

    --
    Alejandro Colomar
    Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
    http://www.alejandro-colomar.es/

    \
     
     \ /
      Last update: 2021-11-19 17:50    [W:4.662 / U:0.344 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site