Thread (17 messages) flat view 17 messages, 4 authors, 2021-02-18

Re: [RFC 1/2] mm: disable LRU pagevec during the migration temporarily

From: Minchan Kim <minchan@kernel.org>
Date: 2021-02-17 21:23:28
Also in: linux-fsdevel, lkml

On Wed, Feb 17, 2021 at 09:11:43PM +0000, Matthew Wilcox wrote:
On Wed, Feb 17, 2021 at 12:51:25PM -0800, Minchan Kim wrote:
quoted
I'd like to avoid atomic operation if we could.
Why do you think that the spinlock is better?
Michal suggested atomic_inc in writeside and atomic_read in readside.
I wanted to avoid atomic operation in readside path.

You are suggesting atomic for writeside and just read(not atomic_read)
in readside?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help