Re: Power usage Q and parallel make question (separate issues)

From: LA Walsh (law@sgi.com)
Date: Thu Feb 01 2001 - 03:13:17 EST


Keith Owens wrote:
>
> On Wed, 31 Jan 2001 19:02:03 -0800,
> LA Walsh <law@sgi.com> wrote:
> >This seems to serialize the delete, run the mod-installs in parallel, then run the
> >depmod when they are done.
>
> It works, until somebody does this
>
> make -j 4 modules modules_install

---
	But that doesn't work now.  

> There is not, and never has been, any interlock between make modules > and make modules_install. If you let modules_install run in parallel > then people will be tempted to issue the incorrect command above > instead of the required separate commands. --- > > make -j 4 modules > make -j 4 modules_install > > You gain a few seconds on module_install but leave more room for user > error. --- A bit of documentation at the beginning of the Makefile would do wonders for kernel-developer (not end user, please!) clarity. I've oft'asked the question as to what really is supported. I've tried things like make dep bzImage modules -- I noticed it didn't work fairly quickly. Same with modules/modules_install -- people would probably figure that one out, but just a bit of documentation would help even that.

-- Linda A Walsh | Trust Technology, Core Linux, SGI law@sgi.com | Voice: (650) 933-5338 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:11 EST