created | 2024-05-04T22:36:24Z |
---|---|
begin | 2024-04-30T00:00:00Z |
end | 2024-05-01T00:00:00Z |
path | src/sys |
commits | 8 |
date | 2024-04-30T01:53:49Z | |||
---|---|---|---|---|
author | jsg | |||
files | src/sys/arch/riscv64/conf/GENERIC | log | diff | annotate |
message | remove commented DEBUG_TIMER for timer driver removed in 2021 |
date | 2024-04-30T16:54:47Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/nfs/nfs_bio.c | log | diff | annotate |
message |
Do not cast off_t to u_long in uvm_vnp_setsize call (only misbehaves on 32-bit platforms.) ok mpi@ |
date | 2024-04-30T17:03:05Z | |||
---|---|---|---|---|
author | op | |||
files | src/sys/sys/msg.h | log | diff | annotate |
message |
add typedefs for msgqnum_t and msglen_t, required by POSIX. improvements from kettenis and jca ok millert, jca, guenther |
date | 2024-04-30T17:04:23Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/nfs/nfs_serv.c | log | diff | annotate |
src/sys/nfs/nfs_socket.c | log | diff | annotate | |
src/sys/nfs/nfs_subs.c | log | diff | annotate | |
src/sys/nfs/nfs_var.h | log | diff | annotate | |
src/sys/nfs/nfs_vfsops.c | log | diff | annotate | |
src/sys/nfs/nfs_vnops.c | log | diff | annotate | |
src/sys/nfs/nfsm_subs.h | log | diff | annotate | |
src/sys/nfs/nfsnode.h | log | diff | annotate | |
message |
Convert all the NFS macros (in nfsm_subs.h) into inline functions with the appropriate extra arguments. This (hopefully) completes the unmessyfication work started by thib@ a long, long time ago (in a galaxy far away). The conversion logic has been: - nfsm_dissect has been turned into an rvalue expression, leaving the cast operation up to its caller. - macros which had three different exit paths (return, goto nfsmout or fallthrough) have been split so that no macros have more than two exit paths. - then they have been modified to return a value, which lets the caller figure out what exit path is needed. - local variables abused by the macros are now local variables of the new inline functions. This single commit is the sum of 25 intermediate diffs, which have all been carefully reviewed by (at least) jsg@ and semarie@. Tested with v2 and v3 servers and clients. ok jsg@ semarie@ |
date | 2024-04-30T17:05:20Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/nfs/nfs_serv.c | log | diff | annotate |
src/sys/nfs/nfs_socket.c | log | diff | annotate | |
src/sys/nfs/nfs_srvcache.c | log | diff | annotate | |
src/sys/nfs/nfs_subs.c | log | diff | annotate | |
src/sys/nfs/nfs_syscalls.c | log | diff | annotate | |
src/sys/nfs/nfs_vnops.c | log | diff | annotate | |
message |
Constify NFS data whenever possible. Also make a few more const data static. ok jsg@ semarie@ |
date | 2024-04-30T17:06:00Z | |||
---|---|---|---|---|
author | miod | |||
files | src/sys/nfs/nfsproto.h | log | diff | annotate |
message |
Make nfstov_mode() return mode_t rather than uint16_t. This is a no-op since we only care about the low 12 bits in NFS anyway. ok jsg@ semarie@ |
date | 2024-04-30T17:12:19Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/kern/subr_hibernate.c | log | diff | annotate |
message |
Add '\n' to DPRINTF() string that used to be a panic() string. ok mlarkin@ |
date | 2024-04-30T17:59:15Z | |||
---|---|---|---|---|
author | mvs | |||
files | src/sys/kern/sys_socket.c | log | diff | annotate |
src/sys/kern/uipc_socket.c | log | diff | annotate | |
src/sys/kern/uipc_socket2.c | log | diff | annotate | |
message |
Push solock() down to sosend() for SOCK_RAW sockets. Raw sockets are the simplest inet sockets, so use them to start landing `sb_mtx' mutex(9) protection for `so_snd' buffer. Now solock() is taken only around pru_send*(), the rest of sosend() serialized by sblock() and `sb_mtx'. The unlocked SS_ISCONNECTED check is fine, because rip{,6}_send() check it. Also, previously the SS_ISCONNECTED could be lost due to solock() release around following m_getuio(). ok bluhm |