NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55777: more rump fixes




> On Nov 2, 2020, at 11:48 PM, Ruslan Nikolaev <nruslan_devel%yahoo.com@localhost> wrote:
> 
> I see, let me try that. But what is the rationale to have it defined in *both*
> 
> librumpnet_local (through uipc_usrreq.c) and librumpnet (through net_stub.c)?

rump tries to split the kernel into components so that programs that just need a
particular subsystem from the kernel don't need to link against the whole kernel.
Unfortunately the kernel was not designed with such a split in mind, so that variables
are shared between components. The hacky way to make this work is to define them
in both components. A better way is to put them in a third component and have the other
two require it, but that introduces overhead.

christos

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index