kmem_cache_init

ishare june.tune.sea at gmail.com
Fri Mar 15 08:38:36 EDT 2013


On Fri, Mar 15, 2013 at 11:39:07AM +0530, Prabhu nath wrote:
> kmem_cache_init() will create generalized caches from where kmalloc() will
> allocate memory.
> 
> vfs_caches_init() will create specialized caches related to VFS, like,
> dentry, inode_cache, mnt_cache....

  what is the relation between cache_cache and these two functions?
  is there clue for understanding this?

  thanks!


> 
> Regards,
> Prabhunath G
> Linux Trainer
> Bangalore
> 
> On Fri, Mar 15, 2013 at 10:08 AM, ishare <june.tune.sea at gmail.com> wrote:
> 
> >
> >  the function kmem_cache_init() is allocating which area for whom to use ?
> >
> >   what is the difference comparing with vfs_caches_init() ?
> >
> >  thanks!
> >
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> 
> 
> 
> --



More information about the Kernelnewbies mailing list