Re: [PATCH] mm: fix the NULL mapping case in __isolate_lru_page()

2018-05-31 Thread Mel Gorman
On Wed, May 30, 2018 at 08:23:16PM -0700, Hugh Dickins wrote: > George Boole would have noticed a slight error in 4.16 commit 69d763fc6d3a > ("mm: pin address_space before dereferencing it while isolating an LRU page"). > Fix it, to match both the comment above it, and the original behaviour. > >

Re: [PATCH] mm: fix the NULL mapping case in __isolate_lru_page()

2018-05-31 Thread Mel Gorman
On Wed, May 30, 2018 at 08:23:16PM -0700, Hugh Dickins wrote: > George Boole would have noticed a slight error in 4.16 commit 69d763fc6d3a > ("mm: pin address_space before dereferencing it while isolating an LRU page"). > Fix it, to match both the comment above it, and the original behaviour. > >

Re: [PATCH] mm: fix the NULL mapping case in __isolate_lru_page()

2018-05-30 Thread Minchan Kim
On Wed, May 30, 2018 at 08:23:16PM -0700, Hugh Dickins wrote: > George Boole would have noticed a slight error in 4.16 commit 69d763fc6d3a > ("mm: pin address_space before dereferencing it while isolating an LRU page"). > Fix it, to match both the comment above it, and the original behaviour. > >

Re: [PATCH] mm: fix the NULL mapping case in __isolate_lru_page()

2018-05-30 Thread Minchan Kim
On Wed, May 30, 2018 at 08:23:16PM -0700, Hugh Dickins wrote: > George Boole would have noticed a slight error in 4.16 commit 69d763fc6d3a > ("mm: pin address_space before dereferencing it while isolating an LRU page"). > Fix it, to match both the comment above it, and the original behaviour. > >

[PATCH] mm: fix the NULL mapping case in __isolate_lru_page()

2018-05-30 Thread Hugh Dickins
George Boole would have noticed a slight error in 4.16 commit 69d763fc6d3a ("mm: pin address_space before dereferencing it while isolating an LRU page"). Fix it, to match both the comment above it, and the original behaviour. Although anonymous pages are not marked PageDirty at first, we have an

[PATCH] mm: fix the NULL mapping case in __isolate_lru_page()

2018-05-30 Thread Hugh Dickins
George Boole would have noticed a slight error in 4.16 commit 69d763fc6d3a ("mm: pin address_space before dereferencing it while isolating an LRU page"). Fix it, to match both the comment above it, and the original behaviour. Although anonymous pages are not marked PageDirty at first, we have an