linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* grab_cache_page vs grab_cache_folio?
@ 2023-09-13 21:34 Dragan Stancevic
  2023-09-14 12:45 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: Dragan Stancevic @ 2023-09-13 21:34 UTC (permalink / raw)
  To: linux-mm, Matthew Wilcox

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?

Thanks

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: grab_cache_page vs grab_cache_folio?
  2023-09-13 21:34 grab_cache_page vs grab_cache_folio? Dragan Stancevic
@ 2023-09-14 12:45 ` Matthew Wilcox
  2023-09-14 20:52   ` Dragan Stancevic
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2023-09-14 12:45 UTC (permalink / raw)
  To: Dragan Stancevic; +Cc: linux-mm

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: grab_cache_page vs grab_cache_folio?
  2023-09-14 12:45 ` Matthew Wilcox
@ 2023-09-14 20:52   ` Dragan Stancevic
  0 siblings, 0 replies; 3+ messages in thread
From: Dragan Stancevic @ 2023-09-14 20:52 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-mm

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-14 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-13 21:34 grab_cache_page vs grab_cache_folio? Dragan Stancevic
2023-09-14 12:45 ` Matthew Wilcox
2023-09-14 20:52   ` Dragan Stancevic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox