Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756075AbYLBRF7 (ORCPT ); Tue, 2 Dec 2008 12:05:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754597AbYLBRFv (ORCPT ); Tue, 2 Dec 2008 12:05:51 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:36866 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754591AbYLBRFu (ORCPT ); Tue, 2 Dec 2008 12:05:50 -0500 Date: Tue, 2 Dec 2008 09:05:12 -0800 (PST) From: Linus Torvalds To: Sam Ravnborg cc: "Renato S. Yamane" , Linux Kernel Mailing List Subject: Re: About git-bisect (was: Linux 2.6.28-rc7) In-Reply-To: <20081202165557.GA10637@uranus.ravnborg.org> Message-ID: References: <20081202131442.42e7df48@varda> <20081202165637.09984819@varda> <49356274.6080400@diamondcut.com.br> <20081202165557.GA10637@uranus.ravnborg.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1217 Lines: 29 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/