linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Ryan Roberts <ryan.roberts@arm.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: Linux-MM <linux-mm@kvack.org>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ruben Ayrapetyan <Ruben.Ayrapetyan@arm.com>
Subject: Re: Folios for anonymous memory
Date: Wed, 15 Feb 2023 16:51:26 +0000	[thread overview]
Message-ID: <85be9adb-ff7a-0045-923b-67894050f028@arm.com> (raw)
In-Reply-To: <Y+z2qm9il0ZapCVY@casper.infradead.org>

Thanks for the fast response - I appreciate it!

>>
>> - I’ve seen folios for anon memory listed as future work; what’s the current
>> status? Is anyone looking at this? It’s something that I would be interested to
>> take a look at if not (although don’t take that as an actual commitment yet!).
>
> There are definitely people _looking_ at it.  I don't think anyone's
> committed to it, and I don't think there's anyone 50 patches into a 100
> patch series to make it work ;-)  I think there are a lot of unanswered
> questions about how best to do it.

Is there any list outlining those questions? Having had a quick look at
do_anonymous_page(), which is where a bunch of my overheads seem to be coming
in, (and having the luxury of not being intimately familiar with mm ;-) ) it
looks like it would be doable to convert it to allocate order-2 folios, for
example. I guess a lot of the difficulty is in figuring out heuristics for
choosing the right folio size for a given fault? And then thinking about handing
COW, swap, parallel faults, etc?


> I don't want you to get the impression that all the work going on is
> targetted at filesystem folios.  There's a lot of infrastructure that's
> being converted from pages to folios and being reexamined at the same
> time to be sure it handles arbitrary-order folios correctly.  Right
> now, I'm working on the architecture support for inserting multiple
> consecutive PTEs at the same time:
> https://lore.kernel.org/linux-arch/20230211033948.891959-1-willy@infradead.org/

Yep - I'm aware of that, thanks!

>
> Thanks for reaching out.  We have a Zoom call on alternate Fridays,
> so if you're free at 5pm UK time (yes, I know ... trying to fit in both
> California and central Europe leads to awkward times for phone calls),
> I can send you the meeting details.

Yes, I'd be keen to join, although not the easiest time for me. I can't do this
week, but would like to join on an ad-hoc basis if that's ok? When is the next call?

Thanks,
Ryan

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


      reply	other threads:[~2023-02-15 16:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 12:38 Ryan Roberts
2023-02-15 15:13 ` Matthew Wilcox
2023-02-15 16:51   ` Ryan Roberts [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=85be9adb-ff7a-0045-923b-67894050f028@arm.com \
    --to=ryan.roberts@arm.com \
    --cc=Catalin.Marinas@arm.com \
    --cc=Ruben.Ayrapetyan@arm.com \
    --cc=linux-mm@kvack.org \
    --cc=mark.rutland@arm.com \
    --cc=willy@infradead.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