Re: [PATCH] make nfsd_drc_max_mem configurable

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

 



Hi Bruce

> 
> I found the following calls to kmem_cache_create:
> 
>>
>> nfs4state.c:2635:	openowner_slab = kmem_cache_create("nfsd4_openowners",
>> nfs4state.c:2639:	lockowner_slab = kmem_cache_create("nfsd4_lockowners",
>> nfs4state.c:2643:	file_slab = kmem_cache_create("nfsd4_files",
>> nfs4state.c:2647:	stateid_slab = kmem_cache_create("nfsd4_stateids",
>> nfs4state.c:2651:	deleg_slab = kmem_cache_create("nfsd4_delegations",
>> nfscache.c:168:	drc_slab = kmem_cache_create("nfsd_drc", sizeof(struct svc_cacherep),
> 
> At a first look, they all use different methods to administer this
> memory if at all.
> 

Another solution would be to simply remove the upper limit for the drc
cache size.

What do you think? How do we solve this problem?

Christoph

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux