Thread (17 messages) 17 messages, 6 authors, 2016-06-13

Re: [PATCH 3/3] mm, thp: make swapin readahead under down_read of mmap_sem

From: Rik van Riel <hidden>
Date: 2016-05-23 18:49:21
Also in: lkml

On Mon, 2016-05-23 at 20:42 +0200, Michal Hocko wrote:
On Mon 23-05-16 20:14:11, Ebru Akagunduz wrote:
quoted
Currently khugepaged makes swapin readahead under
down_write. This patch supplies to make swapin
readahead under down_read instead of down_write.
You are still keeping down_write. Can we do without it altogether?
Blocking mmap_sem of a remote proces for write is certainly not nice.
Maybe Andrea can explain why khugepaged requires
a down_write of mmap_sem?

If it were possible to have just down_read that
would make the code a lot simpler.

-- 
All Rights Reversed.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help