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

Bug#864453: fanotify07 LTP testcase hangs process



On Fri, Apr 12, 2019 at 12:21:08AM +0200, Salvatore Bonaccorso wrote:
> Hi,
> 
> On Thu, Jun 08, 2017 at 09:23:33PM +0200, Helge Deller wrote:
> > Package: linux
> > Version: 4.9.30
> > 
> > The LTP testcase fanotify07 creates hanging processes
> > with debian kernel 4.9.30 on the hppa platform.
> > 
> > In the source code of LTP's fanotify07.c testcase one can read:
> >  * Kernel crashes should be fixed by:
> >  *  96d41019e3ac "fanotify: fix list corruption in fanotify_get_response()"
> >  *
> >  * Kernel hangs should be fixed by:
> >  *  05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace response"
> > 
> > It seems upstream commit 
> > 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace response"
> > is missing in stable kernel 4.9.30 (and debian kernel), which explains why the
> > testcase hangs.
> > I didn't checked if the kernel crash fix is in 4.9.30.
> > 
> > Can you backport at least the commit 05f0e38724e8 ?
> 
> That looks has happened for the 4.9 stable series as in
> https://lore.kernel.org/stable/20190411032430.17353-1-matthew.ruffell@canonical.com/
> and would be included afaics in 4.9.169.

Looks actually that it again had to be dropped again for 4.9.169, as
per https://lore.kernel.org/stable/20190415104228.GA9397@kroah.com/

Regards,
Salvatore


Reply to: