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