linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Ananda Badmaev <a.badmaev@clicknet.pro>, linux-mm@kvack.org
Subject: Re: [PATCH] zswap: add reclaim trigger and stat for debugging
Date: Wed, 9 Jun 2021 12:48:41 +0200	[thread overview]
Message-ID: <457d5c4a-41d3-6052-b80b-a5c9610ead70@redhat.com> (raw)
In-Reply-To: <20210602092753.10566-1-a.badmaev@clicknet.pro>

On 02.06.21 11:27, Ananda Badmaev wrote:
> - Added 'total_pages_reclaimed' stat to debugfs in zswap.
> - Added ability to reclaim pages from zswap using debugfs.
> - Added u64 reclaim counter to shrink_worker()

I wonder how this is really useful from a user perspective. Wouldn't it 
make sense to shrink automatically, e.g., when reclaiming memory because 
low on free memory (OOM?)?


-- 
Thanks,

David / dhildenb



      reply	other threads:[~2021-06-09 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02  9:27 Ananda Badmaev
2021-06-09 10:48 ` David Hildenbrand [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=457d5c4a-41d3-6052-b80b-a5c9610ead70@redhat.com \
    --to=david@redhat.com \
    --cc=a.badmaev@clicknet.pro \
    --cc=linux-mm@kvack.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