mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Honggyu Kim <honggyu.kim@sk.com>
To: SeongJae Park <sj@kernel.org>, Andrew Morton <akpm@linux-foundation.org>
Cc: kernel_team@skhynix.com, Jonathan Corbet <corbet@lwn.net>,
	damon@lists.linux.dev, kernel-team@meta.com,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: [PATCH 0/2] mm/damon: introduce DAMOS filter type for unmapped pages
Date: Thu, 20 Feb 2025 16:45:56 +0900	[thread overview]
Message-ID: <93792bf7-9507-474f-a8b0-ccd4d59742dc@sk.com> (raw)
In-Reply-To: <20250219220146.133650-1-sj@kernel.org>

Hi SeongJae,

On 2/20/2025 7:01 AM, SeongJae Park wrote:
> User decides whether their memory will be mapped or unmapped.  It
> implies that the two types of memory can have different characteristics
> and management requirements.  Provide the DAMON-observaibility
> DAMOS-operation capability for the different types by introducing a new
> DAMOS filter type for unmapped pages.

I asked it before at https://github.com/damonitor/damo/issues/13 about
monitoring unused paddr area but I see this patch series is related to
applying DAMOS action.

Regarding that, do you think we can skip those unused memory area using
this filter before applying DAMOS action?

I'm not sure if the current DAMOS tries pageout/migrate action for those
unused area because they are detected as cold area although those will
be imediately skiped inside action scheme.

Thanks,
Honggyu

> 
> Changes from RFC
> (https://lore.kernel.org/20241127205624.86986-1-sj@kernel.org)
> - Rebase on latest mm-unstable
> - Wordsmith commit message
> - Add documentation
> 
> SeongJae Park (2):
>    mm/damon: implement a new DAMOS filter type for unmapped pages
>    Docs/mm/damon/design: document unmapped DAMOS filter type
> 
>   Documentation/mm/damon/design.rst | 2 ++
>   include/linux/damon.h             | 2 ++
>   mm/damon/paddr.c                  | 3 +++
>   mm/damon/sysfs-schemes.c          | 1 +
>   4 files changed, 8 insertions(+)
> 
> 
> base-commit: a2130e89cbd08ddb6f023b0b10eb87ebbc67add1


  parent reply	other threads:[~2025-02-20  7:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-19 22:01 SeongJae Park
2025-02-19 22:01 ` [PATCH 1/2] mm/damon: implement a new " SeongJae Park
2025-02-19 22:01 ` [PATCH 2/2] Docs/mm/damon/design: document unmapped DAMOS filter type SeongJae Park
2025-02-20  7:45 ` Honggyu Kim [this message]
2025-02-20 17:24   ` [PATCH 0/2] mm/damon: introduce DAMOS filter type for unmapped pages SeongJae Park

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=93792bf7-9507-474f-a8b0-ccd4d59742dc@sk.com \
    --to=honggyu.kim@sk.com \
    --cc=akpm@linux-foundation.org \
    --cc=corbet@lwn.net \
    --cc=damon@lists.linux.dev \
    --cc=kernel-team@meta.com \
    --cc=kernel_team@skhynix.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=sj@kernel.org \
    /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®