All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: SeongJae Park <sj38.park@gmail.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>,
	akpm@linuxfoundation.org, linux-mm@kvack.org,
	Heiko Carstens <hca@linux.ibm.com>,
	Rafael Aquini <aquini@redhat.com>,
	Vlastimil Babka <vbabka@suse.cz>, Yu Zhao <yuzhao@google.com>,
	Vladimir Davydov <vdavydov.dev@gmail.com>,
	kirill.shutemov@linux.intel.com, amit@kernel.org
Subject: Re: [PATCH] mm: Mark idle page tracking as BROKEN
Date: Mon, 14 Jun 2021 19:04:20 -0700	[thread overview]
Message-ID: <20210614190420.af6bb3ca193541cdb606517d@linux-foundation.org> (raw)
In-Reply-To: <20210614134926.17279-1-sjpark@amazon.de>

On Mon, 14 Jun 2021 13:49:26 +0000 SeongJae Park <sj38.park@gmail.com> wrote:

> From: SeongJae Park <sjpark@amazon.de>
> 
> Hello Matthew,
> 
> On Sat, 12 Jun 2021 01:07:14 +0100 "Matthew Wilcox (Oracle)" <willy@infradead.org> wrote:
> 
> > In discussion with other MM developers around how idle page tracking
> > should be fixed for transparent huge pages, several expressed the opinion
> > that it should be removed as it is inefficient at accomplishing the
> > job that it is supposed to, and we have better mechanisms (eg uffd) for
> > accomplishing the same goals these days.
> 
> I think the THP case[1] is an intended behavior[2].  Could you please share a
> link to the discussion or a detailed summary if possible?
> 
> > 
> > Mark the feature as BROKEN for now and we can remove it entirely in a
> > few months if nobody complains.  It is not enabled by Android, ChromeOS,
> > Debian, Fedora or SUSE.  Red Hat enabled it with RHEL-8.1 and UEK followed
> > suit, but I have been unable to find why RHEL enabled it.
> 
> Amazon Linux is also using it[3], for DAMON[4].  In detail, DAMON doesn't use
> Idle Page Tracking but PG_Idle in kernel space, to avoid interfering the
> reclaim logic[5].  So, I'm ok with removing the Idle Page Tracking user space
> interface, but gonna be opposed to removing PG_Idle.
> 
> Nevertheless, the interference is not a real problem to DAMON, as DAMON is
> aimed to provide just a reasonable quality of the monitoring, rather than
> strict correctness.  Hence, if people think the interference is also not a
> problem for the reclaim logic (after all, it does nothing unless sysadmin
> manually turns it on in runtime, and can be turned off at anytime), I would
> simply update DAMON code to don't use PG_Idle, add warnings in the doc, and
> wouldn't be opposed to this change.

Couldn't the DAMON patchset simply re-add PG_Idle?  Perhaps with a new
name which is more appropriate to the DAMON usage?




  reply	other threads:[~2021-06-15  2:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12  0:07 [PATCH] mm: Mark idle page tracking as BROKEN Matthew Wilcox (Oracle)
2021-06-12  3:14 ` Yu Zhao
2021-06-14 11:08 ` Kirill A. Shutemov
2021-06-14 13:49 ` SeongJae Park
2021-06-15  2:04   ` Andrew Morton [this message]
2021-06-15  6:40     ` SeongJae Park
2021-06-15  7:41 ` David Hildenbrand
2021-06-16  2:55   ` Matthew Wilcox
2021-06-16  6:22     ` Yu Zhao
2021-06-16  8:36       ` Vlastimil Babka
2021-06-16  8:43         ` David Hildenbrand
2021-06-16 19:23           ` Yu Zhao
2021-06-18 12:48             ` David Hildenbrand

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=20210614190420.af6bb3ca193541cdb606517d@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=akpm@linuxfoundation.org \
    --cc=amit@kernel.org \
    --cc=aquini@redhat.com \
    --cc=hca@linux.ibm.com \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=linux-mm@kvack.org \
    --cc=sj38.park@gmail.com \
    --cc=vbabka@suse.cz \
    --cc=vdavydov.dev@gmail.com \
    --cc=willy@infradead.org \
    --cc=yuzhao@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.