Merge pull request #8143 from jlebar/process-priority-fixes

Bug 836654 - Process priority fixes(cherry picked from commit dac3c41ee37d787a9483f41ea5c40a266f09ad59)