git: DragonFly_RELEASE_6_4 kernel/linker: serialize recursive unload
Aaron LI
aly at crater.dragonflybsd.org
Tue Sep 1 22:49:06 PDT 2026
commit bfab99d1d02ad6aa681e5344a5f085afc3f6a170
Author: Leding Li <lileding at gmail.com>
Date: Wed Jul 22 11:05:33 2026 +0800
kernel/linker: serialize recursive unload
Restore the safe list traversal from commit
e7a2d40362352344eff1c4f395caf0a735e00a3e.
'llf_lock' is now recursive and held through the unload path, so
callbacks and dependency release can recurse without exposing a
partially unloaded file.
GitHub-PR: #50
Summary of changes:
sys/kern/kern_linker.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bfab99d1d02ad6aa681e5344a5f085afc3f6a170
--
DragonFly BSD source repository
More information about the Commits
mailing list