Re: [PATCH -next v3] bcache: use DEFINE_MUTEX() for mutex lock

2021-04-07 Thread Pavel Goran
Hello Zheng, The third paragraph of the commit description still mentions the .bss segment. Wednesday, April 7, 2021, 7:50:00 PM, you wrote: > mutex lock can be initialized automatically with DEFINE_MUTEX() rather > than explicitly calling mutex_init(). > this patch will reduce the size of bcac

[PATCH -next v3] bcache: use DEFINE_MUTEX() for mutex lock

2021-04-07 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). this patch will reduce the size of bcache.ko about 16 bytes, the reason as follows: though this patch will increase the size of .data segment about 32 bytes, it will also reduce the size o