mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: "Renato S. Yamane" <yamane@diamondcut.com.br>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: About git-bisect (was: Linux 2.6.28-rc7)
Date: Tue, 2 Dec 2008 09:05:12 -0800 (PST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0812020901530.3256@nehalem.linux-foundation.org> (raw)
In-Reply-To: <20081202165557.GA10637@uranus.ravnborg.org>



On Tue, 2 Dec 2008, Sam Ravnborg wrote:
> 
> You do not need to do a "make clean" between each build, so if none
> of the core files are touched you should be much faster.

Not for big ranges, sadly.

Because "git bisect" tends to jump around wildly, it's very rare to not 
have to rebuild the whole tree. Only at the very last few bisection events 
(when it's been narrowed down to just a few tens of commits) will you 
generally see your compiles speed up.

That said, the _best_ way to speed up your compile (whether bisecting or 
not) is to simply only compile the drivers and modules you actually need. 
It takes me 16 seconds to compile my kernel (if it's all cached), and 
that's largely because I do _not_ compile one of the crazy distro kernels 
with thousands of totally irrelevant modules for my setup.

A good config file will not just result in a smaller kernel, it will often 
cut down your kernel compile times by a factor of ten or even more.

				Linus

  reply	other threads:[~2008-12-02 17:05 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02  4:11 Linux 2.6.28-rc7 Linus Torvalds
2008-12-02 12:14 ` Alejandro Riveira Fernández
2008-12-02 13:11   ` pazke
2008-12-02 14:48     ` Alejandro Riveira Fernández
2008-12-02 15:20       ` Alistair John Strachan
2008-12-02 15:50         ` Alejandro Riveira Fernández
2008-12-02 16:14           ` Alistair John Strachan
2008-12-02 15:54         ` Alejandro Riveira Fernández
2008-12-02 15:50   ` Linus Torvalds
2008-12-02 15:56     ` Alejandro Riveira Fernández
2008-12-02 16:13       ` Linus Torvalds
2008-12-02 16:29         ` About git-bisect (was: Linux 2.6.28-rc7) Renato S. Yamane
2008-12-02 16:55           ` Sam Ravnborg
2008-12-02 17:05             ` Linus Torvalds [this message]
2008-12-02 17:01           ` Linus Torvalds
2008-12-02 18:49         ` Linux 2.6.28-rc7 Alejandro Riveira Fernández
2008-12-02 19:22           ` Alejandro Riveira Fernández
2008-12-02 19:23           ` Linus Torvalds
2008-12-02 19:45             ` Alejandro Riveira Fernández
2008-12-02 20:40               ` Linus Torvalds
2008-12-02 20:29             ` Al Viro
2008-12-02 16:55 About git-bisect (was: Linux 2.6.28-rc7) Toralf Förster
     [not found] <bEuTZ-3Ya-5@gated-at.bofh.it>
     [not found] ` <bECot-57C-1@gated-at.bofh.it>
     [not found]   ` <bEFPF-XO-15@gated-at.bofh.it>
     [not found]     ` <bEFPG-XO-19@gated-at.bofh.it>
     [not found]       ` <bEG8P-1xl-15@gated-at.bofh.it>
     [not found]         ` <bEGiz-1Hw-11@gated-at.bofh.it>
     [not found]           ` <bEGLI-2aS-31@gated-at.bofh.it>
     [not found]             ` <bEGVc-2Bk-11@gated-at.bofh.it>
2008-12-02 21:52               ` Francis Moreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.00.0812020901530.3256@nehalem.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=yamane@diamondcut.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome