Multi-Threaded make

JD jd1008 at gmail.com
Thu Nov 29 16:06:32 UTC 2012


On 11/29/2012 04:29 AM, Gabriel VLASIU wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 29 Nov 2012, Gabriel VLASIU wrote:
>
>> You can see multiple make proccesses. But only 2 (in my case) do the real
>> work:
>> user1  22073 12810  0 13:13 pts/0    00:00:00 make -f scripts/Makefile.build obj=fs
>> user1  24474 22073  0 13:15 pts/0    00:00:00 make -f scripts/Makefile.build obj=fs/cifs
>> user1  24530 22073  0 13:15 pts/0    00:00:00 make -f scripts/Makefile.build obj=fs/coda
>>
>> Make proccess with pid 22073 only invoke two addititonal make proccesses
>> which call cc1:
>> user1  3617  3616  0 13:21 pts/0    00:00:00 /usr/libexec/gcc/x86_64-redhat-linux/4.7.2/cc1 -quiet -nostdinc ....
>> user1  3627  3626  0 13:21 pts/0    00:00:00 /usr/libexec/gcc/x86_64-redhat-linux/4.7.2/cc1 -quiet -nostdinc ...
> Of cource, the cc1 listing should look like this (PPID):
> user1  3617  24474  0 13:21 pts/0    00:00:00 /usr/libexec/gcc/x86_64-redhat-linux/4.7.2/cc1 -quiet -nostdinc ....
> user1  3627  24530  0 13:21 pts/0    00:00:00 /usr/libexec/gcc/x86_64-redhat-linux/4.7.2/cc1 -quiet -nostdinc ...
>
>
> Gabriel
>
What should and what is are vastly different.


More information about the users mailing list