History log of /freebsd/lib/libc/rpc/svc_nl.c (Results 1 – 2 of 2)
Revision Date Author Comments
# c62ae124 01-Feb-2025 Gleb Smirnoff <glebius@FreeBSD.org>

rpc: limited multithread support for svc_nl

The rpc(3) itself was not designed with multithreading in mind, but we can
actually achieve some parallelism without modifying the library and the
framewo

rpc: limited multithread support for svc_nl

The rpc(3) itself was not designed with multithreading in mind, but we can
actually achieve some parallelism without modifying the library and the
framework. This transport will allow to process RPCs in threads, with
some hacks on the application side (documented in code). We make
reentrable only one method - SVC_REPLY(). Reading and parsing of incoming
calls is still done synchronously. But the actual processing of the calls
can be offloaded to a thread, and once finished the thread can safely
execute svc_sendreply() and the reply would be sent with the correct xid.

Differential Revision: https://reviews.freebsd.org/D48569

show more ...


# c5d671b7 01-Feb-2025 Gleb Smirnoff <glebius@FreeBSD.org>

libc/rpc: add userland side RPC server over netlink(4)

To be used by NFS related daemons that provide RPC services to the kernel.
Some implementation details inside the new svc_nl.c.

Reviewed by:

libc/rpc: add userland side RPC server over netlink(4)

To be used by NFS related daemons that provide RPC services to the kernel.
Some implementation details inside the new svc_nl.c.

Reviewed by: rmacklem
Differential Revision: https://reviews.freebsd.org/D48550

show more ...