Re: [PATCH v2 2/6] dax: fix cache flush on PMD-mapped pages

2022-02-03 Thread Jan Kara
On Wed 02-02-22 22:33:03, Muchun Song wrote: > The flush_cache_page() only remove a PAGE_SIZE sized range from the cache. > However, it does not cover the full pages in a THP except a head page. > Replace it with flush_cache_range() to fix this issue. > > Fixes: f729c8c9b24f ("dax: wrprotect pmd_t

Re: [PATCH v2 1/6] mm: rmap: fix cache flush on THP pages

2022-02-03 Thread Jan Kara
On Wed 02-02-22 22:33:02, Muchun Song wrote: > The flush_cache_page() only remove a PAGE_SIZE sized range from the cache. > However, it does not cover the full pages in a THP except a head page. > Replace it with flush_cache_range() to fix this issue. At least, no > problems were found due to this.

Re: [PATCH 1/2] mm/memory_hotplug: Export shrink span functions for zone and node

2022-02-03 Thread David Hildenbrand
On 03.02.22 03:22, Jonghyeon Kim wrote: > On Fri, Jan 28, 2022 at 09:10:21AM +0100, David Hildenbrand wrote: >> On 28.01.22 05:19, Jonghyeon Kim wrote: >>> On Thu, Jan 27, 2022 at 10:54:23AM +0100, David Hildenbrand wrote: On 27.01.22 10:41, Jonghyeon Kim wrote: > On Wed, Jan 26, 2022 at 0