lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <80eae60c-61f5-4992-a50f-e10d4287770b@lucifer.local>
Date: Sun, 28 Jul 2024 19:43:59 +0100
From: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Linus Torvalds <torvalds@...uxfoundation.org>,
        David Laight <David.Laight@...lab.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "Matthew Wilcox (Oracle)" <willy@...radead.org>,
        Christoph Hellwig <hch@...radead.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        Dan Carpenter <dan.carpenter@...aro.org>,
        Arnd Bergmann <arnd@...nel.org>, "Jason@...c4.com" <Jason@...c4.com>,
        "pedro.falcato@...il.com" <pedro.falcato@...il.com>,
        Mateusz Guzik <mjguzik@...il.com>,
        "linux-mm@...ck.org" <linux-mm@...ck.org>
Subject: Re: [PATCH 0/7] minmax: reduce compilation time

On Sun, Jul 28, 2024 at 07:57:11PM GMT, Geert Uytterhoeven wrote:
> Hi Lorenzo,
>
> On Fri, Jul 26, 2024 at 8:57 PM Lorenzo Stoakes
> <lorenzo.stoakes@...cle.com> wrote:
> > On Fri, Jul 26, 2024 at 11:24:09AM GMT, Linus Torvalds wrote:
> > > On Fri, 26 Jul 2024 at 11:13, Lorenzo Stoakes
> > > <lorenzo.stoakes@...cle.com> wrote:
> > > >
> > > > 5,447,539       ./arch/x86/xen/setup.o.pre
> > >
> > > Can you perhaps do some kind of "max expansion" on all the
> > > preprocessor files (you seem to have done it by changing the ".c.o"
> > > rule to just spit it out as "o.pre", which sounds fine).
> >
> > Yeah I simply hacked in a gcc -E, ugly but effective, e.g. prepending
> > cmd_cc_o_c in scripts/Makefile.build with:
> >
> > cmd_cc_o_c = $(CC) $(c_flags) -E $< > $@...e; \
>
> Kbuild already knows how to build a preprocessed file (.i),
> so making any .o depend on its .i should work, too?
>
> Or am I missing something?

Yup I'm sure putting something in like that would work, I wasn't aware of
the whole .i thing when I did this and I just hacked something in quick +
dirty to get the data.

>
> Gr{oetje,eeting}s,
>
>                         Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ