NetBSD-Bugs archive

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

Re: kern/55777: more rump fixes



The following reply was made to PR kern/55777; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: Ruslan Nikolaev <nruslan_devel%yahoo.com@localhost>,
 gnats-bugs%netbsd.org@localhost,
 kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/55777: more rump fixes
Date: Tue, 3 Nov 2020 08:17:44 -0800

 > On Nov 3, 2020, at 5:42 AM, Christos Zoulas <christos%zoulas.com@localhost> =
 wrote:
 >=20
 > 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.
 
 Seems like we should just put it all into a single rump library.  If =
 it's a static link, it'll naturally reduce the code slurped in, and if =
 it's a shared library, who cares?
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index