Messages in this thread | | | From | Paul Burton <> | Subject | Re: [PATCH v2] MIPS: entry: Remove unneeded need_resched() loop | Date | Tue, 19 Mar 2019 23:18:25 +0000 |
| |
Hello,
Valentin Schneider wrote: > Since the enabling and disabling of IRQs within preempt_schedule_irq() > is contained in a need_resched() loop, we don't need the outer arch > code loop. > > Note that commit a18815abcdfd ("Use preempt_schedule_irq.") initially > removed the existing loop, but missed the final branch to restore_all. > Commit cdaed73afb61 ("Fix preemption bug.") missed that and reintroduced > the loop. > > Signed-off-by: Valentin Schneider <valentin.schneider@arm.com> > Cc: Ralf Baechle <ralf@linux-mips.org> > Cc: Paul Burton <paul.burton@mips.com> > Cc: James Hogan <jhogan@kernel.org> > Cc: linux-mips@vger.kernel.org
Applied to mips-next.
Thanks, Paul
[ This message was auto-generated; if you believe anything is incorrect then please email paul.burton@mips.com to report it. ]
| |