sched/core: switch struct rq->nr_iowait to a normal int
In 3 of the 4 spots where we modify rq->nr_iowait we already hold the
rq lock, and hence don't need atomics to modify the current per-rq
iowait count. In the 4th case, where we are scheduling in on a different
CPU than the task was previously on, we do not hold the previous rq lock,
and hence still need to use an atomic to increment the iowait count.
Rename the existing nr_iowait to nr_iowait_remote, and use that for the
4th case. The other three cases can simply inc/dec in a non-atomic
fashion under the held rq lock.
The per-rq iowait now becomes the difference between the two, the local
count minus the remote count.
Signed-off-by: Jens Axboe <axboe@kernel.dk>