User Details
- User Since
- Feb 26 2021, 3:47 PM (274 w, 2 d)
Fri, May 29
Thu, May 28
As detailed in an inline comment, this patch lowers the probability of the race, but does not make it disappear. The real problem is probably more along the lines of some code doing a vget() and assuming the obtained vnode is not doomed, which cannot be guaranteed in general.
Patch with suggested changes:
So, on multiple-package machines, this driver will malfunction as described in one of the inline comments (and I wasn't able to find a quick way to disable it in this case). I guess that's tolerable as a first shot.
Wed, May 27
Thanks for the explanations.
Since wrmsr_early_safe_gp_handler() pops the hardware error code, isn't that going to botch upper frames of the stack for exceptions not pushing one?
Tue, May 26
Sorting values is great. Using Ta in the header item, and only there, however, looks more confusing than anything else. What are you trying to "fix" in these headers? If it's the usage of TABs, then all the tables should be converted, not just the headers.
Good to go (with one more small nit, the ordering of headers, to fix).
An update to the manual page would also be welcome, as its content is now essentially stale (except on the essential point that zzz serves to suspend :-)).
Mon, May 25
Maybe also change the comments in sys/compat/linuxkpi/common/src/linux_acpi.c:linux_handle_power_suspend_event() and sys/dev/acpi_support/acpi_ibm.c:acpi_ibm_eventhandler() accordingly?
This change looks OK per se, but before committing we have to confirm that we can get the same behavior as before. The divergence in behavior with acpiconf -s 3 should be fixed by D57239. Could you give it a try?