linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dragan Stancevic <dragan@stancevic.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: linux-mm@kvack.org
Subject: Re: grab_cache_page vs grab_cache_folio?
Date: Thu, 14 Sep 2023 15:52:06 -0500	[thread overview]
Message-ID: <01cde300-596b-2d1b-1826-287b9531f1c7@stancevic.com> (raw)
In-Reply-To: <ZQMAebJrWEhoEnB1@casper.infradead.org>

On 9/14/23 07:45, Matthew Wilcox wrote:
> On Wed, Sep 13, 2023 at 04:34:39PM -0500, Dragan Stancevic wrote:
>> Hi folks, I am going through some code converting it to folio use. I ran
>> into a function grab_cache_page and I can't seem to find the folio
>> equivalent, like grab_cache_folio?
>>
>> Am I missing something or there is no equivalent? Is anyone working on it,
>> or should I try and add it myself?
> 
> filemap_grab_folio() as seen in, eg, 6d68f644b97c
> 

Got it, thank you


-- 
Peace can only come as a natural consequence
of universal enlightenment -Dr. Nikola Tesla



      reply	other threads:[~2023-09-14 20:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13 21:34 Dragan Stancevic
2023-09-14 12:45 ` Matthew Wilcox
2023-09-14 20:52   ` Dragan Stancevic [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=01cde300-596b-2d1b-1826-287b9531f1c7@stancevic.com \
    --to=dragan@stancevic.com \
    --cc=linux-mm@kvack.org \
    --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