mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: albin_yang@163.com
To: ryncsn@gmail.com
Cc: akpm@linux-foundation.org, albin_yang@163.com,
	albinwyang@tencent.com, baohua@kernel.org, baoquan.he@linux.dev,
	chrisl@kernel.org, kasong@tencent.com,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	nphamcs@gmail.com, shikemeng@huaweicloud.com,
	youngjun.park@lge.com
Subject: Re: [PATCH] mm/swap: skip devices without SWP_PAGE_DISCARD in swap_sync_discard()
Date: Fri,  4 Dec 2026 10:27:54 +0800	[thread overview]
Message-ID: <20261204022754.3602255-1-albin_yang@163.com> (raw)
In-Reply-To: <axGdI7_BgsQhC54b@KASONG-MC4>

Hi Kairui,

Thanks for the review.

On Fri, 4 Dec 2026 01:15:20 +0800, Kairui Song wrote:
> Maybe should be f9e82f99b377?  The per-device lock churn came from
> 9fb749cd1507, but that version walked swap_avail_head, and full devices
> are removed from it, so with swap 100% full it iterated zero times. The
> reported hang needs the start_over/plist_node_empty() restart that
> f9e82f99b377 added IIUC.
>
> And maybe need Cc stable?

Agreed on both.  I'll move Fixes to f9e82f99b377, add Cc: stable, and
send v2 as a new thread.

Thanks,
Wei Yang


      reply	other threads:[~2026-12-04  2:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 13:48 albin_yang
2026-12-03 17:15 ` Kairui Song
2026-12-04  2:27   ` albin_yang [this message]

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=20261204022754.3602255-1-albin_yang@163.com \
    --to=albin_yang@163.com \
    --cc=akpm@linux-foundation.org \
    --cc=albinwyang@tencent.com \
    --cc=baohua@kernel.org \
    --cc=baoquan.he@linux.dev \
    --cc=chrisl@kernel.org \
    --cc=kasong@tencent.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=nphamcs@gmail.com \
    --cc=ryncsn@gmail.com \
    --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

all inboxes | Powered by JetHome®