Source-Changes-D archive

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

Re: CVS commit: src/usr.sbin/puffs/rump_smbfs



On Thu, Sep 17, 2009 at 09:05:38AM +0100, Nick Hudson wrote:
> 
> > People are most welcome to fix this ugliness 
> > properly by helping to get rid of link sets in the kernel.
> 
> I'm glad you agree that link sets are ugly. On the matter of a getting rid of 
> them I did offer to discuss a solution, but was ignored. 

Like all things they have their place, but overuse can be a problem.

For instance they could solve the problem of getting an intial entry
point (code or data) into a kernel 'module' that has being linked
into a kernel with 'ld -r'.
(when modules are loaded it is possibly to do a symbol lookup...)

There are probably other places where it is difficult to call an
explicit initialiser.

It is all rather similar to the proliferation of memory pools - for
things where 'malloc' would be fine.

        David

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


Home | Main Index | Thread Index | Old Index