NetBSD-Bugs archive

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

Re: kern/60504: lfs_cleanerd can kernel crash on load in lfs_fcntl; lfs_sp == NULL



The following reply was made to PR kern/60504; it has been noted by GNATS.

From: Shinichi Doyashiki <clare%csel.org@localhost>
To: Taylor R Campbell <riastradh%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, perseant%netbsd.org@localhost
Subject: Re: kern/60504: lfs_cleanerd can kernel crash on load in lfs_fcntl;
 lfs_sp == NULL
Date: Sun, 06 Sep 2026 23:39:34 +0900

 > I bet this is just a matter of doing too much work in lfs with the
 > kernel lock held.  I think this is going to require ripping the
 > band-aid that is the kernel lock off lfs, which we need to do anyway
 > sooner or later.  Most of it is serialized by lfs_lock anyway.  Try
 > the attached patch?
 
 Using relatively recent kernel code and the your patch,
 I was able to successfully complete `cvs update` and `build.sh`
 within a working directory on LFS.
 
 At the moment, I am testing using the userland cleaner daemon.
 
 
 



Home | Main Index | Thread Index | Old Index