damon.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: SeongJae Park <sj@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: SeongJae Park <sj@kernel.org>,
	damon@lists.linux.dev, linux-mm@kvack.org,
	stable@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] mm/damon: fix quota status loss due to online tunings
Date: Fri, 16 Feb 2024 11:40:23 -0800	[thread overview]
Message-ID: <20240216194025.9207-1-sj@kernel.org> (raw)

DAMON_RECLAIM and DAMON_LRU_SORT is not preserving internal quota status
when applying new user parameters, and hence could cause temporal quota
accuracy degradation.  Fix it by preserving the status.

SeongJae Park (2):
  mm/damon/reclaim: fix quota stauts loss due to online tunings
  mm/damon/lru_sort: fix quota status loss due to online tunings

 mm/damon/lru_sort.c | 43 ++++++++++++++++++++++++++++++++++++-------
 mm/damon/reclaim.c  | 18 +++++++++++++++++-
 2 files changed, 53 insertions(+), 8 deletions(-)


base-commit: 0f8cac70960349ba21deb424bd41bc4f4362c113
-- 
2.39.2


             reply	other threads:[~2024-02-16 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-16 19:40 SeongJae Park [this message]
2024-02-16 19:40 ` [PATCH 1/2] mm/damon/reclaim: fix quota stauts loss due to online tunings SeongJae Park
2024-02-16 19:40 ` [PATCH 2/2] mm/damon/lru_sort: fix quota status " 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=20240216194025.9207-1-sj@kernel.org \
    --to=sj@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=damon@lists.linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=stable@vger.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).