From: june.tune.sea@gmail.com (ishare) Date: Fri, 15 Mar 2013 20:38:36 +0800 Subject: kmem_cache_init In-Reply-To: References: <20130315043827.GG5057@debian.localdomain> Message-ID: <20130315123836.GA6487@debian.localdomain> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 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 > > > > > > --