Re: INFO: inconsistent lock state in ecryptfs_calculate_md5

2016-04-16 Thread Herbert Xu
On Thu, Apr 14, 2016 at 10:03:48PM +0800, Nicolas Boichat wrote: > > We've run into the following lockdep warning while using a system with > ecryptfs, under heavy memory pressure. > > If I understand the issue correctly, > fs/ecryptfs/crypto.c:ecryptfs_calculate_md5: > - Locks &crypt_stat->cs_h

INFO: inconsistent lock state in ecryptfs_calculate_md5

2016-04-14 Thread Nicolas Boichat
Hi, We've run into the following lockdep warning while using a system with ecryptfs, under heavy memory pressure. If I understand the issue correctly, fs/ecryptfs/crypto.c:ecryptfs_calculate_md5: - Locks &crypt_stat->cs_hash_tfm_mutex -> Calls crypto_alloc_hash -> Calls crypto_alloc_base