[PATCH 6.1 116/372] sched/core: Optimize in_task() and in_interrupt() a bit