Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-13 Thread Michal Marek
Dne 13.3.2015 v 05:59 Masahiro Yamada napsal(a): > 2015-03-11 19:01 GMT+09:00 Michal Marek : >> We already have it and it is called "filechk." Valdis, can you check if >> the below patch works equally well for you? > > This looks almost nice, but a few comments below. Thanks for the review! >>

Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-13 Thread Michal Marek
Dne 13.3.2015 v 05:59 Masahiro Yamada napsal(a): 2015-03-11 19:01 GMT+09:00 Michal Marek mma...@suse.cz: We already have it and it is called filechk. Valdis, can you check if the below patch works equally well for you? This looks almost nice, but a few comments below. Thanks for the review!

Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-12 Thread Masahiro Yamada
Hi. 2015-03-11 19:01 GMT+09:00 Michal Marek : > On Sun, Mar 08, 2015 at 04:08:06PM -0700, Linus Torvalds wrote: >> On Tue, Mar 3, 2015 at 5:07 PM, Valdis Kletnieks >> wrote: >> > >> > Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps >> > and forcing rebuilds even if the

Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-12 Thread Masahiro Yamada
Hi. 2015-03-11 19:01 GMT+09:00 Michal Marek mma...@suse.cz: On Sun, Mar 08, 2015 at 04:08:06PM -0700, Linus Torvalds wrote: On Tue, Mar 3, 2015 at 5:07 PM, Valdis Kletnieks valdis.kletni...@vt.edu wrote: Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps and forcing

Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-11 Thread Michal Marek
On Sun, Mar 08, 2015 at 04:08:06PM -0700, Linus Torvalds wrote: > On Tue, Mar 3, 2015 at 5:07 PM, Valdis Kletnieks > wrote: > > > > Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps > > and forcing rebuilds even if the contents haven't changed. Add a bit of > > shell magic

Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-11 Thread Michal Marek
On Sun, Mar 08, 2015 at 04:08:06PM -0700, Linus Torvalds wrote: On Tue, Mar 3, 2015 at 5:07 PM, Valdis Kletnieks valdis.kletni...@vt.edu wrote: Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps and forcing rebuilds even if the contents haven't changed. Add a bit of

Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-08 Thread Linus Torvalds
On Tue, Mar 3, 2015 at 5:07 PM, Valdis Kletnieks wrote: > > Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps > and forcing rebuilds even if the contents haven't changed. Add a bit of > shell magic to only replace the file if the contents have in fact changed, > which

Re: [RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-08 Thread Linus Torvalds
On Tue, Mar 3, 2015 at 5:07 PM, Valdis Kletnieks valdis.kletni...@vt.edu wrote: Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps and forcing rebuilds even if the contents haven't changed. Add a bit of shell magic to only replace the file if the contents have in fact

[RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-03 Thread Valdis Kletnieks
Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps and forcing rebuilds even if the contents haven't changed. Add a bit of shell magic to only replace the file if the contents have in fact changed, which should speed up git bisects and similar. Signed-off-by: Valdis

[RFC PATCH] Don't reset timestamps in include/generated if not needed

2015-03-03 Thread Valdis Kletnieks
Kbuild regenerates bounds.h and asm-offsets.h, resetting the timestamps and forcing rebuilds even if the contents haven't changed. Add a bit of shell magic to only replace the file if the contents have in fact changed, which should speed up git bisects and similar. Signed-off-by: Valdis