Re: [PATCH 2/2] arm: irq_pipeline: Fix fault_{entry,exit} imbalance
Philippe Gerum <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
Florian Bezdeka <[email protected]> writes: > upstream commit > c16af1212479 ("ARM: 9328/1: mm: try VMA lock-based page fault handling first") > introduced a new exit path to do_page_fault(), so that an imbalance > of fault_{entry,exit} can happen. > > The commit was introduced with Linux 6.8, so all newer Dovetail > versions are affected. > > Signed-off-by: Florian Bezdeka <[email protected]> > --- > arch/arm/mm/fault.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c > index 4beae304c0269d11173cd3b360cec05e59f30d82..49f5d628c4c9a91a3e879af0d541fd76665d78fe 100644 > --- a/arch/arm/mm/fault.c > +++ b/arch/arm/mm/fault.c > @@ -502,7 +502,7 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) > if (fault_signal_pending(fault, regs)) { > if (!user_mode(regs)) > goto no_context; > - return 0; > + goto out; > } > lock_mmap: Merged, thanks. -- Philippe.