[PATCH 0/2] mm: small fixup series for mm-unstable

peterx@redhat.com posted 2 patches 1 year, 10 months ago
include/linux/huge_mm.h |  16 ++-
mm/gup.c                | 287 ++++++++++++++++++++--------------------
2 files changed, 154 insertions(+), 149 deletions(-)
[PATCH 0/2] mm: small fixup series for mm-unstable
Posted by peterx@redhat.com 1 year, 10 months ago
From: Peter Xu <peterx@redhat.com>

Andrew,

This is the small series that should fixes the two reported issues on
mm-unstable for this series:

https://lore.kernel.org/r/20240321220802.679544-1-peterx@redhat.com

This is build tested on (1) x86_64, allnoconfig+allmodconfig, (2) m68k,
allnoconfig+allmodconfig.

Please consider dropping below quickfix:

  mm-gup-handle-hugepd-for-follow_page-fix

Then apply these two fixups.

Sorry this "small" fixup series is not that small.  Said that, I tested
apply and the fixup should auto-squash all fine on current mm-unstable with
a rebase.  If not, feel free to let me know if you want me to resend the
whole series with a base commit, or whatever easy for you.

Thanks,

Peter Xu (2):
  fixup! mm: make HPAGE_PXD_* macros even if !THP
  fixup! mm/gup: handle hugepd for follow_page()

 include/linux/huge_mm.h |  16 ++-
 mm/gup.c                | 287 ++++++++++++++++++++--------------------
 2 files changed, 154 insertions(+), 149 deletions(-)

-- 
2.44.0
Re: [PATCH 0/2] mm: small fixup series for mm-unstable
Posted by SeongJae Park 1 year, 10 months ago
On Fri, 22 Mar 2024 23:33:08 -0400 peterx@redhat.com wrote:

> From: Peter Xu <peterx@redhat.com>
> 
> Andrew,
> 
> This is the small series that should fixes the two reported issues on
> mm-unstable for this series:
> 
> https://lore.kernel.org/r/20240321220802.679544-1-peterx@redhat.com
> 
> This is build tested on (1) x86_64, allnoconfig+allmodconfig, (2) m68k,
> allnoconfig+allmodconfig.
> 
> Please consider dropping below quickfix:
> 
>   mm-gup-handle-hugepd-for-follow_page-fix
> 
> Then apply these two fixups.
> 
> Sorry this "small" fixup series is not that small.  Said that, I tested
> apply and the fixup should auto-squash all fine on current mm-unstable with
> a rebase.  If not, feel free to let me know if you want me to resend the
> whole series with a base commit, or whatever easy for you.
> 
> Thanks,

I confirmed this fixes the build issue I reported[1] yeterday.

Tested-by: SeongJae Park <sj@kernel.org>

[1] https://lore.kernel.org/r/20240322171456.118997-1-sj@kernel.org


Thanks,
SJ

> 
> Peter Xu (2):
>   fixup! mm: make HPAGE_PXD_* macros even if !THP
>   fixup! mm/gup: handle hugepd for follow_page()
> 
>  include/linux/huge_mm.h |  16 ++-
>  mm/gup.c                | 287 ++++++++++++++++++++--------------------
>  2 files changed, 154 insertions(+), 149 deletions(-)
> 
> -- 
> 2.44.0