[PATCH] s390: allow reschedule on syscall restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 845f44e8ef28 ("sched: Report local wake up on resched blind zone
within idle loop") from next-20210121 causes a warning because s390
doesn't call sched_resched_local_allow() when restarting a syscall.

Signed-off-by: Sven Schnelle <svens@xxxxxxxxxxxxx>
---
 arch/s390/kernel/syscall.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/s390/kernel/syscall.c b/arch/s390/kernel/syscall.c
index bc8e650e377d..2b39ac40f970 100644
--- a/arch/s390/kernel/syscall.c
+++ b/arch/s390/kernel/syscall.c
@@ -162,6 +162,7 @@ void noinstr __do_syscall(struct pt_regs *regs, int per_trap)
 		do_syscall(regs);
 		if (!test_pt_regs_flag(regs, PIF_SYSCALL_RESTART))
 			break;
+		sched_resched_local_allow();
 		local_irq_enable();
 	}
 	exit_to_user_mode();
-- 
2.17.1




[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux