Source-Changes-D archive

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

Re: CVS commit: src/sys/dev



On Thu, Dec 01, 2011 at 01:00:22PM -0600, David Young wrote:
> 
> IIRC, our module loader cannot (yet) load a strong alias over a weak
> alias and restore the weak alias when the module containing the strong
> alias is unloaded.  That would have been nice to have when bpf was
> modularized.

That would be a nice trick...
I was thinking is something horrid that would make the source clean(ish).

Avoiding the function call is only necessary for very space-constrained
kernels.  Which could be done by using a #define instead of the weak alias.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index