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....

Regards,
Prabhunath G
Linux Trainer
Bangalore

On Fri, Mar 15, 2013 at 10:08 AM, ishare <june.tune.sea@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@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



--