Re: [PATCH 0/7] minmax: reduce compilation time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/26/24 3:36 PM, Linus Torvalds wrote:
> Now, fixing that, and you end up with
> 
>   Longest line is 61861 (82kB)
> 
> so it's now "only" 82kB in size, and that actually comes from
> <linux/bio.h>, which has this:
> 
>    static inline unsigned bio_segments(struct bio *bio)
>    {
>    ...
>         bio_for_each_segment(bv, bio, iter)
>                 segs++;
> 
> which looks very tame indeed, but it turns out that
> "bio_for_each_segment()" expands to 82kB of code.
> 
> Jens? Maybe time to look into this?

Eek yes, that looks horrible. I'll take a look.

-- 
Jens Axboe





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux