[apparmor] [PATCH] parser: add basic support for parallel compiles and loads

John Johansen john.johansen at canonical.com
Fri Oct 23 19:47:03 UTC 2015

On 10/17/2015 03:49 PM, John Johansen wrote:
> This adds a basic support for parallel compiles. It uses a fork()/wait
> model due to the parsers current dependence on global variables and
> structures. It has been setup in a similar manner to how cilk handles
> multithreading to make it easy to port to a managed thread model once
> the parser removes the dependence on global compute structures in the
> backend.
> This patch adds two new command line flags
>   -j or --jobs  which follows the make syntax of specifying parallel jobs
>      currently defaults to -j1

So one thing I wanted to ask here was whether or not we should default this
to --jobs=auto instead of 1

1 is safe in that it is the current behavior, but I think we want this on
by default

More information about the AppArmor mailing list