LKML Archive on
help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <>
To: Shakeel Butt <>
Cc: David Hildenbrand <>,
	"Kirill A . Shutemov" <>,
	Yang Shi <>, Zi Yan <>,
	Matthew Wilcox <>,
	Andrew Morton <>,,
Subject: Re: [PATCH v2] mm: thp: update split_queue_len correctly
Date: Wed, 24 Nov 2021 23:12:38 +0300	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, Nov 23, 2021 at 11:09:16AM -0800, Shakeel Butt wrote:
> The deferred THPs are split on memory pressure through shrinker
> callback and splitting of THP during reclaim can fail for several
> reasons like unable to lock the THP, under writeback or unexpected
> number of pins on the THP. Such pages are put back on the deferred split
> list for consideration later. However kernel does not update the
> deferred queue size on putting back the pages whose split was failed.
> This patch fixes that.

Hm. No. split_huge_page_to_list() updates the queue size on split success.


 Kirill A. Shutemov

  parent reply	other threads:[~2021-11-24 20:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23 19:09 Shakeel Butt
2021-11-23 20:00 ` Yang Shi
2021-11-24 20:12 ` Kirill A. Shutemov [this message]
2021-11-24 20:44   ` Shakeel Butt
2021-11-24 21:17     ` Yang Shi
2021-11-24 21:19       ` Shakeel Butt

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:

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

  git send-email \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH v2] mm: thp: update split_queue_len correctly' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).