Source-Changes archive

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

Re: CVS commit: src/sys/fs/smbfs



Bill Studenmund wrote:
> On Wed, 2 Apr 2003, Jaromir Dolecek wrote:
> > Log Message:
> > when loaded via LKM, need to malloc_type_{attach|detach} used malloc
> > types on load/unload appropriately
> > XXX this should really be automated somehow
> 
> Why not put this in the LKM code that loads the FS?

Do you mean lkm/vfs/smbfs/lkminit_vfs.c or the generic VFS LKM load code?

I'd rather keep it in fs/smbfs/smbfs_vfsops.c, so that it's
less likely to get out of sync with rest of smbfs code.

If the latter, is there any way for the (kernel) LKM load code to
determine which malloc types the LKM uses?

Jaromir
-- 
Jaromir Dolecek <jdolecek%NetBSD.org@localhost>            
http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-



Home | Main Index | Thread Index | Old Index