git: kernel/linker: serialize recursive unload
Aaron LI
aly at crater.dragonflybsd.org
Wed Jul 22 07:03:10 PDT 2026
commit c5c76d9c10abfde5bdbf60b1535e3c5484bca042
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/c5c76d9c10abfde5bdbf60b1535e3c5484bca042
--
DragonFly BSD source repository
More information about the Commits
mailing list