Re: [PATCH 08/10] huge pagecache: extend mremap pmd rmap lockout to files

2016-04-11 Thread Kirill A. Shutemov
On Tue, Apr 05, 2016 at 01:52:48PM -0700, Hugh Dickins wrote: > Whatever huge pagecache implementation we go with, file rmap locking > must be added to anon rmap locking, when mremap's move_page_tables() > finds a pmd_trans_huge pmd entry: a simple change, let's do it now. > > Factor out

Re: [PATCH 08/10] huge pagecache: extend mremap pmd rmap lockout to files

2016-04-11 Thread Kirill A. Shutemov
On Tue, Apr 05, 2016 at 01:52:48PM -0700, Hugh Dickins wrote: > Whatever huge pagecache implementation we go with, file rmap locking > must be added to anon rmap locking, when mremap's move_page_tables() > finds a pmd_trans_huge pmd entry: a simple change, let's do it now. > > Factor out

[PATCH 08/10] huge pagecache: extend mremap pmd rmap lockout to files

2016-04-05 Thread Hugh Dickins
Whatever huge pagecache implementation we go with, file rmap locking must be added to anon rmap locking, when mremap's move_page_tables() finds a pmd_trans_huge pmd entry: a simple change, let's do it now. Factor out take_rmap_locks() and drop_rmap_locks() to handle the locking for make

[PATCH 08/10] huge pagecache: extend mremap pmd rmap lockout to files

2016-04-05 Thread Hugh Dickins
Whatever huge pagecache implementation we go with, file rmap locking must be added to anon rmap locking, when mremap's move_page_tables() finds a pmd_trans_huge pmd entry: a simple change, let's do it now. Factor out take_rmap_locks() and drop_rmap_locks() to handle the locking for make