lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <178e2579-0208-4d40-8ab2-31392aa3f920@lucifer.local>
Date: Fri, 24 Oct 2025 14:18:27 +0100
From: Lorenzo Stoakes <lorenzo.stoakes@...cle.com>
To: Kairui Song <ryncsn@...il.com>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
        Kemeng Shi <shikemeng@...weicloud.com>,
        Kairui Song <kasong@...cent.com>, Nhat Pham <nphamcs@...il.com>,
        Baoquan He <bhe@...hat.com>, Barry Song <baohua@...nel.org>,
        Chris Li <chrisl@...nel.org>,
        Baolin Wang <baolin.wang@...ux.alibaba.com>,
        David Hildenbrand <david@...hat.com>,
        "Matthew Wilcox (Oracle)" <willy@...radead.org>,
        Ying Huang <ying.huang@...ux.alibaba.com>,
        YoungJun Park <youngjun.park@....com>, linux-kernel@...r.kernel.org,
        stable@...r.kernel.org
Subject: Re: [PATCH v2 0/5] mm, swap: misc cleanup and bugfix

On Fri, Oct 24, 2025 at 02:00:38AM +0800, Kairui Song wrote:
> A few cleanups and a bugfix that are either suitable after the swap
> table phase I or found during code review.
>
> Patch 1 is a bugfix and needs to be included in the stable branch,
> the rest have no behavior change.
>
> ---
> Changes in v2:
> - Update commit message for patch 1, it's a sub-optimal fix and a better
>   fix can be done later. [ Chris Li ]
> - Fix a lock balance issue in patch 1. [ YoungJun Park ]
> - Add a trivial cleanup patch to remove an unused argument,
>   no behavior change.
> - Update kernel doc.
> - Fix minor issue with commit message [ Nhat Pham ]
> - Link to v1: https://lore.kernel.org/r/20251007-swap-clean-after-swap-table-p1-v1-0-74860ef8ba74@tencent.com
>
> ---
> Kairui Song (5):
>       mm, swap: do not perform synchronous discard during allocation

FYI For some reason this commit is not present on lore, see [0]

[0]: https://lore.kernel.org/all/20251024-swap-clean-after-swap-table-p1-v2-0-a709469052e7@tencent.com/

>       mm, swap: rename helper for setup bad slots
>       mm, swap: cleanup swap entry allocation parameter
>       mm/migrate, swap: drop usage of folio_index
>       mm, swap: remove redundant argument for isolating a cluster
>
>  include/linux/swap.h |  4 +--
>  mm/migrate.c         |  4 +--
>  mm/shmem.c           |  2 +-
>  mm/swap.h            | 21 ----------------
>  mm/swapfile.c        | 71 +++++++++++++++++++++++++++++++++++-----------------
>  mm/vmscan.c          |  4 +--
>  6 files changed, 55 insertions(+), 51 deletions(-)
> ---
> base-commit: 5b5c3e53c939318f6a0698c895c7ec40758bff6a
> change-id: 20251007-swap-clean-after-swap-table-p1-b9a7635ee3fa
>
> Best regards,
> --
> Kairui Song <kasong@...cent.com>
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ