Subject: Re: CVS commit: src/sys/fs/smbfs
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 04/02/2003 19:57:25
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> 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.'' -=-