User Details
- User Since
- May 16 2014, 7:35 PM (518 w, 5 d)
Yesterday
Tue, Apr 23
Could the purpose of the new cpu method expressed as "move CPU state to PCB/thread save location in preparation for ..."? I think a comment like that would be due.
Mon, Apr 22
Taking into the account bz' grep output, I believe that the best route is to properly implement the struct module. For start it could be simply struct module {int dummy;}; if nothing is needed from its guts. But there should be an instance of the structure for each LKPI module, and THIS_MODULE underlying symbol should be magic indeed, but not in the sense of the current review. Instead, it should be only resolved locally, causing undefined symbol error if attempt is made to reference it from kld without the module symbol (section ?).
So what is the expected use of THIS_MODULE in Linux? Determine that current module is not that module, or something else?
Licenses and man page fixes.
Sat, Apr 20
Add documentation and test.
Fri, Apr 19
Does it matter/used on arm64 and risc-v? I remember that psABIs require nx stack always for them. It might be that some (old ?) linker complained about the note on these arches.
Is it flag or enumeration?
Handle Mark' notes:
- move include of sys/_sigval.h at the top of pthread.h
- add comments to the signo flags definitions
- use _types.h names for types
-sort rwlock.h in kern_thr.c
This review adds pthread_sigqueue(3) as requested. Right now it is not tested and unfinished: it lacks man pages update and test case, which I add after the issue below is discussed.
Wed, Apr 17
Tue, Apr 16
Do you mean that td_frame is not constant on arm64?
Sun, Apr 14
Could you try to (greatly) simplify unionfs rename by using ERELOOKUP? For instance, it can be split into two essentially independent cases: 1. need to copy fdvp from lower to upper (and return ERELOOKUP) 2. Just directly call VOP_RENAME() on upper if copy is not needed.
Sat, Apr 13
Fri, Apr 12
Thu, Apr 11
Wed, Apr 10
Reference the IOMMU spec for pcireg.h
Tue, Apr 9
Go ahead with the current patch.
Mon, Apr 8
They are hacks, but not in the same sense as the proposed value. ERESTART and EJUSTRETURN directly affect the content of the user context restored by the syscall return to userspace, same as any other userspace errno values, unlike the EUNSDEP (and unlike ENOIOCTL/EDIRIOCTL/ERELOOKUP).
Sun, Apr 7
Sat, Apr 6
Fri, Apr 5
Adding anything to errno is the wrong direction. If you want to get arbitrary error back from kldload(2), then perhaps kldload2(2) is due, with a signature allowing to pass back a text describing the error.
This would be similar to the interface of rtld itself, where dl*() functions do not try to extend errno but provide dlerror() with the description of the problem.