Re: [PATCH] support md(4) device as a standalone rump component
- From: Antti Kantee <pooka@xxxxxx>
- To: rumpkernel-users@xxxxxxxxxxxxx
- Date: Thu, 15 Oct 2015 14:57:48 +0000
On 15/10/15 14:25, Martin Lucina wrote:
This is because the only interface to configure an MD_KMEM_FIXED type image
is through the use of md_{attach,open}_hook. The weak symbols are necessary
if the user wishes to link in -lrumpdev_md without a separate component
containing the image, ie. for normal use from userspace.
No, no, no, no weak aliases. They are always a sign of doing things for
a globally configured system, not a component-oriented one.
Furthermore, weak aliases simply don't work in some dynamically linked
environments, and I've cried myself to sleep eradicating them from the
rump kernel. We're definitely not adding more weak aliases into the
rump kernel, I already have enough reasons to cry about thank you very many.
Other related posts: