Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-27 Thread Michal Hocko
On Tue 27-08-19 12:00:26, Johannes Weiner wrote: > On Mon, Aug 26, 2019 at 02:06:30PM +0200, Michal Hocko wrote: > > On Tue 13-08-19 12:51:43, Michal Hocko wrote: > > > On Mon 12-08-19 11:07:25, Johannes Weiner wrote: > > > > On Mon, Aug 12, 2019 at 10:09:47AM +0200, Michal Hocko wrote: > > [...]

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-27 Thread Johannes Weiner
On Mon, Aug 26, 2019 at 02:06:30PM +0200, Michal Hocko wrote: > On Tue 13-08-19 12:51:43, Michal Hocko wrote: > > On Mon 12-08-19 11:07:25, Johannes Weiner wrote: > > > On Mon, Aug 12, 2019 at 10:09:47AM +0200, Michal Hocko wrote: > [...] > > > > > Maybe the refaults will be fine - but latency

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-26 Thread Michal Hocko
On Tue 13-08-19 12:51:43, Michal Hocko wrote: > On Mon 12-08-19 11:07:25, Johannes Weiner wrote: > > On Mon, Aug 12, 2019 at 10:09:47AM +0200, Michal Hocko wrote: [...] > > > > Maybe the refaults will be fine - but latency expectations around > > > > mapped page cache certainly are a lot higher

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-13 Thread Michal Hocko
On Mon 12-08-19 11:07:25, Johannes Weiner wrote: > On Mon, Aug 12, 2019 at 10:09:47AM +0200, Michal Hocko wrote: [...] > > Btw. can we promote PageReferenced pages with zero mapcount? I am > > throwing that more as an idea because I haven't really thought that > > through yet. > > That flag

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-12 Thread Johannes Weiner
On Mon, Aug 12, 2019 at 10:09:47AM +0200, Michal Hocko wrote: > On Fri 09-08-19 14:34:24, Johannes Weiner wrote: > > On Fri, Aug 09, 2019 at 02:43:24PM +0200, Michal Hocko wrote: > > > On Tue 06-08-19 19:55:09, Minchan Kim wrote: > > > > On Wed, Jul 31, 2019 at 09:21:01AM +0200, Michal Hocko

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-12 Thread Michal Hocko
On Fri 09-08-19 14:34:24, Johannes Weiner wrote: > On Fri, Aug 09, 2019 at 02:43:24PM +0200, Michal Hocko wrote: > > On Tue 06-08-19 19:55:09, Minchan Kim wrote: > > > On Wed, Jul 31, 2019 at 09:21:01AM +0200, Michal Hocko wrote: > > > > On Wed 31-07-19 14:44:47, Minchan Kim wrote: > > [...] > > >

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-09 Thread Johannes Weiner
On Fri, Aug 09, 2019 at 02:43:24PM +0200, Michal Hocko wrote: > On Tue 06-08-19 19:55:09, Minchan Kim wrote: > > On Wed, Jul 31, 2019 at 09:21:01AM +0200, Michal Hocko wrote: > > > On Wed 31-07-19 14:44:47, Minchan Kim wrote: > [...] > > > > As Nick mentioned in the description, without

Re: [RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-09 Thread Mel Gorman
On Fri, Aug 09, 2019 at 02:43:24PM +0200, Michal Hocko wrote: > On Tue 06-08-19 19:55:09, Minchan Kim wrote: > > On Wed, Jul 31, 2019 at 09:21:01AM +0200, Michal Hocko wrote: > > > On Wed 31-07-19 14:44:47, Minchan Kim wrote: > [...] > > > > As Nick mentioned in the description, without

[RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-09 Thread Michal Hocko
On Tue 06-08-19 19:55:09, Minchan Kim wrote: > On Wed, Jul 31, 2019 at 09:21:01AM +0200, Michal Hocko wrote: > > On Wed 31-07-19 14:44:47, Minchan Kim wrote: [...] > > > As Nick mentioned in the description, without mark_page_accessed in > > > zapping part, repeated mmap + touch + munmap never