[PATCH v2 0/4] A few fixup patches for mm

Miaohe Lin posted 4 patches 2 years, 6 months ago
There is a newer version of this series
mm/ksm.c            |  2 ++
mm/memory-failure.c | 32 ++++++++++++++++++--------------
mm/swapfile.c       |  8 ++++----
3 files changed, 24 insertions(+), 18 deletions(-)
[PATCH v2 0/4] A few fixup patches for mm
Posted by Miaohe Lin 2 years, 6 months ago
Hi everyone,
This series contains a few fixup patches to fix potential unexpected
return value, fix wrong swap entry type for hwpoisoned swapcache page
and so on. More details can be found in the respective changelogs.
Thanks!

Miaohe Lin (4):
  mm/swapfile: fix wrong swap entry type for hwpoisoned swapcache page
  mm: memory-failure: fix potential unexpected return value from
    unpoison_memory()
  mm: memory-failure: avoid false hwpoison page mapped error info
  mm: memory-failure: add PageOffline() check
---
v2:
  collect Reviewed-by and Acked-by tag per Matthew and Naoya.
  1/4: a better fix per Matthew
  2/4: fix a code smell per Naoya
  Thanks!
---
 mm/ksm.c            |  2 ++
 mm/memory-failure.c | 32 ++++++++++++++++++--------------
 mm/swapfile.c       |  8 ++++----
 3 files changed, 24 insertions(+), 18 deletions(-)

-- 
2.33.0
Re: [PATCH v2 0/4] A few fixup patches for mm
Posted by Andrew Morton 2 years, 6 months ago
On Thu, 27 Jul 2023 19:56:39 +0800 Miaohe Lin <linmiaohe@huawei.com> wrote:

> This series contains a few fixup patches to fix potential unexpected
> return value, fix wrong swap entry type for hwpoisoned swapcache page
> and so on. More details can be found in the respective changelogs.

I'm thinking that patches 1-3 should be backported into -stable kernels.
Thoughts on this?
Re: [PATCH v2 0/4] A few fixup patches for mm
Posted by Miaohe Lin 2 years, 6 months ago
On 2023/7/28 0:57, Andrew Morton wrote:
> On Thu, 27 Jul 2023 19:56:39 +0800 Miaohe Lin <linmiaohe@huawei.com> wrote:
> 
>> This series contains a few fixup patches to fix potential unexpected
>> return value, fix wrong swap entry type for hwpoisoned swapcache page
>> and so on. More details can be found in the respective changelogs.
> 
> I'm thinking that patches 1-3 should be backported into -stable kernels.
> Thoughts on this?

I tend to backport the patches 1-3. They helps.

Thanks Andrew.