User Details
- User Since
- Feb 26 2021, 3:47 PM (167 w, 5 h)
Yesterday
Wed, May 8
Tue, Apr 30
Closing, since superseded by an upstream fix.
Mon, Apr 29
Sat, Apr 27
Late to the party, but I find this passage rather obscure:
It replaced the one per line sync as a substitute for waiting.
What does that refer to exactly? To typing only a single sync, as evoked in the previous paragraph ("The shutdown procedure involved running...")?
If yes, I would suggest replacing the whole paragraph:
Typing sync three times (one line each) was a placebo that would generally suffice in 7th edition machines that were otherwise quiesced system. It replaced the one per line sync as a substitute for waiting.
with something like:
"""
Typing sync three times (one line each) would generally suffice in 7th edition machines that were otherwise quiesced system for all dirty buffers to reach the disks. This placebo procedure was in effect just a substitute for waiting.
"""
Or did you mean something else?
Thu, Apr 25
I don't see any more path where the pointer to the new struct thread won't be initialized before the new thread is started, so I think this completely fixes the initial problem. Moreover, there most probably won't be any noticeable performance impact, since kproc_create() in the end calls fork1() with RFSTOPPED, so the only difference is now that the new process will be released only very slightly later.
Tue, Apr 23
There's also NFS_REQRSVPORT, but it is unrelated I guess?
Sun, Apr 21
I don't think that, as it stands, the changes here now introduce new LORs or additional recursion, so good to go.
Fri, Apr 19
Tue, Apr 16
Mon, Apr 15
The main problem that I see with these changes is that they lead to dropping support for FSes with non-recursive locking (see some of the inline comments). I think there are also some minor problems in the locking/relookup logic (see the inline comments as well).
Fri, Apr 12
Thu, Apr 11
Going to be superseded by a backport of FreeBSD-EN-23:18.openzfs to OpenZFS 2.1.x and FreeBSD's stable/13.
Apr 10 2024
Apr 9 2024
Hi Seigo,
Apr 8 2024
Responding to your comment in D44581 here:
Apr 5 2024
Apr 4 2024
I'm a priori OK with that as a stopgap measure, although I don't really know how still-running processes interact with the suspend/resume mechanism (which problems can this cause? I can imagine a bunch of them, but not sure if they are impacting).
I agree with this simple, stopgap measure. It is indeed what FreeBSD-EN-23:18.openzfs achieves, in a much simpler way.
Although I spent quite some time to understand the signal and ptrace machinery (earlier; I have spent some more for this review), I still don't understand it globally (and probably some details as well). I have a couple of remarks and questions that might improve our common understanding (at worst, hoping answers and info will at least improve mine).
Apr 3 2024
These changes plug holes indeed.
Apr 2 2024
Is it possible instead to reuse LINKER_FILE_LINKED, by setting this flag later in linker_load_file() (after the if (modules && TAILQ_EMPTY(&lf->modules))), and testing for it? This would also improve the behavior of linker_find_file_by_id() by preventing it from reporting a loaded module that is immediately unloaded by the just-mentioned if.
Mar 29 2024
Mar 27 2024
Mar 20 2024
Mar 16 2024
Great! More cruft removed, including one call to unionfs_relookup(). I have a few suggestions.
Mar 12 2024
Feb 29 2024
Thanks!
Feb 28 2024
I agree with your reasoning. Overall looks fine. Thanks! I have a couple of suggestions.
Feb 27 2024
It seems that a stub was exposed by libc up to 0db2fac06ab70163, unless this is an artifact of the svn or git import.