From: Nhat Pham <nphamcs@gmail.com>
To: Yosry Ahmed <yosryahmed@google.com>
Cc: lsf-pc@lists.linux-foundation.org, akpm@linux-foundation.org,
hannes@cmpxchg.org, ryncsn@gmail.com, chengming.zhou@linux.dev,
chrisl@kernel.org, linux-mm@kvack.org, kernel-team@meta.com,
linux-kernel@vger.kernel.org, shakeel.butt@linux.dev,
hch@infradead.org, hughd@google.com, 21cnbao@gmail.com,
usamaarif642@gmail.com
Subject: Re: [LSF/MM/BPF TOPIC] Virtual Swap Space
Date: Fri, 17 Jan 2025 10:09:12 +0700 [thread overview]
Message-ID: <CAKEwX=NknMShU0jM51LUJC9FO8OROFy-4igo_qR7xQvE8=zu9A@mail.gmail.com> (raw)
In-Reply-To: <CAKEwX=MEunn2zhPi1Rmof2V1ShWud03X2-vFAgFTRHLRw2R8PQ@mail.gmail.com>
On Fri, Jan 17, 2025 at 9:47 AM Nhat Pham <nphamcs@gmail.com> wrote:
>
> No particular reason why we can't squeeze it into swap counts other
> than clarity :) It's going to be a bit annoying working with swap
> count values (swap count increment is now * 2 instead of ++ etc.).
errr.. += 2 I suppose (since the lowest bit is now the swap cache
bit). But point stands I suppose lol.
Getting exact swap count will be swap read then divide by 2 etc.
next prev parent reply other threads:[~2025-01-17 3:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-16 9:22 Nhat Pham
2025-01-16 9:29 ` Nhat Pham
2025-01-16 18:47 ` Yosry Ahmed
2025-01-17 2:47 ` Nhat Pham
2025-01-17 3:09 ` Nhat Pham [this message]
2025-01-17 16:51 ` Yosry Ahmed
2025-03-28 14:41 ` Nhat Pham
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='CAKEwX=NknMShU0jM51LUJC9FO8OROFy-4igo_qR7xQvE8=zu9A@mail.gmail.com' \
--to=nphamcs@gmail.com \
--cc=21cnbao@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=chengming.zhou@linux.dev \
--cc=chrisl@kernel.org \
--cc=hannes@cmpxchg.org \
--cc=hch@infradead.org \
--cc=hughd@google.com \
--cc=kernel-team@meta.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lsf-pc@lists.linux-foundation.org \
--cc=ryncsn@gmail.com \
--cc=shakeel.butt@linux.dev \
--cc=usamaarif642@gmail.com \
--cc=yosryahmed@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox