Re: [PATCH v4 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-22 Thread Minchan Kim
On Sat, Mar 20, 2021 at 03:51:40PM -0700, Chris Goldsworthy wrote: > On 2021-03-20 12:54, Matthew Wilcox wrote: > > On Sat, Mar 20, 2021 at 10:20:09AM -0700, Minchan Kim wrote: > > > > > Tested-by: Oliver Sang > > > > > Reported-by: kernel test robot > > > > > Signed-off-by: Chris Goldsworthy >

Re: [PATCH v4 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-20 Thread Chris Goldsworthy
On 2021-03-20 12:54, Matthew Wilcox wrote: On Sat, Mar 20, 2021 at 10:20:09AM -0700, Minchan Kim wrote: > > Tested-by: Oliver Sang > > Reported-by: kernel test robot > > Signed-off-by: Chris Goldsworthy > > Signed-off-by: Minchan Kim > > The signoff chain ordering might mean that Chris was

Re: [PATCH v4 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-20 Thread Matthew Wilcox
On Sat, Mar 20, 2021 at 10:20:09AM -0700, Minchan Kim wrote: > > > Tested-by: Oliver Sang > > > Reported-by: kernel test robot > > > Signed-off-by: Chris Goldsworthy > > > Signed-off-by: Minchan Kim > > > > The signoff chain ordering might mean that Chris was the primary author, but > > there

Re: [PATCH v4 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-20 Thread Minchan Kim
On Sat, Mar 20, 2021 at 09:32:49AM -0700, Andrew Morton wrote: > On Fri, 19 Mar 2021 10:51:27 -0700 Minchan Kim wrote: > > > Pages containing buffer_heads that are in one of the per-CPU > > buffer_head LRU caches will be pinned and thus cannot be migrated. > > This can prevent CMA allocations

Re: [PATCH v4 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-20 Thread Andrew Morton
On Fri, 19 Mar 2021 10:51:27 -0700 Minchan Kim wrote: > Pages containing buffer_heads that are in one of the per-CPU > buffer_head LRU caches will be pinned and thus cannot be migrated. > This can prevent CMA allocations from succeeding, which are often used > on platforms with co-processors

[PATCH v4 3/3] mm: fs: Invalidate BH LRU during page migration

2021-03-19 Thread Minchan Kim
Pages containing buffer_heads that are in one of the per-CPU buffer_head LRU caches will be pinned and thus cannot be migrated. This can prevent CMA allocations from succeeding, which are often used on platforms with co-processors (such as a DSP) that can only use physically contiguous memory. It