On 30/04/2014 00:26, Jonas Sicking wrote: > When we fork() a new process from the nuwa process, does it inherit > the OOM priority from the nuwa process?
Yes, but what we get is the preallocated process, we set it's OOM adjustment to the highest possible class (so that it doesn't get killed) and it's CPU priority to the lowest possible class (nice 18). > What OOM priority does the nuwa process have? The Nuwa process has the same OOM adjustment and priority as the main process. > Ideally we would give forked process a very high priority until we can > check if setVisible was called with true or false. You mean we should immediately raise the priority of the preallocated process? Gabriele
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g