]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Make nr_iowait() return 32-bit value
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 22 Apr 2021 20:02:26 +0000 (23:02 +0300)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 May 2021 19:34:15 +0000 (21:34 +0200)
commit5f35ea746f1d6fcc1037deed45357c337fd22761
tree8d4f491ec8943ba11d1b859064aeaa3f397654e7
parentaca83454bc9be3417bb16186071c93cefe773009
sched: Make nr_iowait() return 32-bit value

Creating 2**32 tasks to wait in D-state is impossible and wasteful.

Return "unsigned int" and save on REX prefixes.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210422200228.1423391-2-adobriyan@gmail.com
fs/proc/stat.c
include/linux/sched/stat.h
kernel/sched/core.c