Re: [PATCH] mm/z3fold:remove unneeded spinlock in z3fold_alloc

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

 



On Sun, Feb 04, 2024 at 09:15:43PM +0800, Zhongkun He wrote:
> The spinklock in z3fold_alloc() is used to protect page->lru,
> but now it was removed in commit 'e774a7bc7f0ad', so remove
> the spinlock too.

The pool->lock clearly protects things other than page->lru.

I'm not saying that you're wrong, but your changelog doesn't make a
strong case that you're right, either ;)

Please CC Vitaly (scripts/get_maintainer.pl) on these patches.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux