sched: Make nr_running() return 32-bit value

Creating 2**32 tasks is impossible due to futex pid limits and wasteful
anyway. Nobody has done it.

Bring nr_running() into 32-bit world to 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-1-adobriyan@gmail.com
This commit is contained in:
Alexey Dobriyan 2021-04-22 23:02:25 +03:00 • committed by Ingo Molnar
commit 01aee8fd7f
4 changed files with 5 additions and 5 deletions