linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nhat Pham <nphamcs@gmail.com>
To: Baoquan He <bhe@redhat.com>
Cc: linux-mm@kvack.org, akpm@linux-foundation.org, chrisl@kernel.org,
	 youngjun.park@lge.com, kasong@tencent.com, baohua@kernel.org,
	 shikemeng@huaweicloud.com
Subject: Re: [PATCH v5 mm-new 1/2] mm/swap: do not choose swap device according to numa node
Date: Tue, 28 Oct 2025 12:54:20 -0700	[thread overview]
Message-ID: <CAKEwX=MdGJ6t1w46cMfcXaq0SO23K3P=ubZWSjDZ=woWSvcVDA@mail.gmail.com> (raw)
In-Reply-To: <20251028034308.929550-2-bhe@redhat.com>

On Mon, Oct 27, 2025 at 8:43 PM Baoquan He <bhe@redhat.com> wrote:
>
> This reverts commit a2468cc9bfdf ("swap: choose swap device according
> to numa node").
>
> After this patch, the behaviour will change back to pre-commit
> a2468cc9bfdf. Means the priority will be set from -1 then downwards by
> default, and when swapping, it will exhault swap device one by one
> according to priority from high to low. This is preparation work for
> later change.
>
> [root@hp-dl385g10-03 ~]# swapon
> NAME       TYPE      SIZE   USED PRIO
> /dev/zram0 partition  16G    16G   -1
> /dev/zram1 partition  16G 966.2M   -2
> /dev/zram2 partition  16G     0B   -3
> /dev/zram3 partition  16G     0B   -4
>
> Suggested-by: Chris Li <chrisl@kernel.org>
> Acked-by: Chris Li <chrisl@kernel.org>
> Signed-off-by: Baoquan He <bhe@redhat.com>

LGTM.
Acked-by: Nhat Pham <nphamcs@gmail.com>


  reply	other threads:[~2025-10-28 19:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28  3:43 [PATCH v5 mm-new 0/2] mm/swapfile.c: select swap devices of default priority round robin Baoquan He
2025-10-28  3:43 ` [PATCH v5 mm-new 1/2] mm/swap: do not choose swap device according to numa node Baoquan He
2025-10-28 19:54   ` Nhat Pham [this message]
2025-10-28  3:43 ` [PATCH v5 mm-new 2/2] mm/swap: select swap device with default priority round robin Baoquan He
2025-10-28 19:56   ` Nhat Pham
2025-10-29 15:38 ` [PATCH v5 mm-new 0/2] mm/swapfile.c: select swap devices of " Kairui Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKEwX=MdGJ6t1w46cMfcXaq0SO23K3P=ubZWSjDZ=woWSvcVDA@mail.gmail.com' \
    --to=nphamcs@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=baohua@kernel.org \
    --cc=bhe@redhat.com \
    --cc=chrisl@kernel.org \
    --cc=kasong@tencent.com \
    --cc=linux-mm@kvack.org \
    --cc=shikemeng@huaweicloud.com \
    --cc=youngjun.park@lge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox