Re: [PATCH 3/5] rteval: kcompile: Skip mrproper, and re-extract if clean fails

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

 



On Tue, 2024-04-02 at 15:07 -0400, John Kacur wrote:
> 
> 
> On Mon, 4 Mar 2024, Crystal Wood wrote:
> 
> > We only ever do out-of-tree builds, so the kernel directory should not
> > be
> > getting damaged except by incomplete extraction (which mrproper would
> > probably not fix) or external meddling.  So, skip the mrproper and
> > instead re-extract if a "make clean" fails.
> > 
> > Also, add -j to cleancmd to further speed things up.  Startup speed may
> > not seem all that important given how long rteval is typically run for,
> > but this helps make quick tests (e.g. while debugging things, or when
> > hunting a latency that shows up very quickly) less painful.
> > 
> > On my 12-cpu laptop, this patch saves about 15 seconds of startup time.
> > 
> > Signed-off-by: Crystal Wood <crwood@xxxxxxxxxx>

> You would probably achieve close to the same or better by just using '-j' 
> with make mrproper

Perhaps it would be almost as fast, depending on the system you're running
it on (and how many non-isolated cores it has).  But it really doesn't seem
necessary.

As for better, how?  We're going from mrproper *and* clean to just clean. 
The re-extraction only happens if clean fails.


-Crystal






[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux