Skip to contentSkip to conversation

grab_cache_page vs grab_cache_folio?

DISCUSSION Dragan Stancevic 2 participants 3 messages Sep 13, 2023 – Sep 14, 2023 Memory management

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Peace can only come as a natural consequence
of universal enlightenment -Dr. Nikola Tesla
#1 lore raw
Quoted 6 lines · Dragan Stancevic

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

#2 lore raw
Quoted 10 lines · Matthew Wilcox
Quoted 6 lines · Dragan Stancevic

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

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