Messages in this thread | | | Date | Fri, 19 Mar 2021 10:56:45 +1100 | From | Balbir Singh <> | Subject | Re: [PATCH v4 01/25] mm: Introduce struct folio |
| |
On Fri, Mar 05, 2021 at 04:18:37AM +0000, Matthew Wilcox (Oracle) wrote: > A struct folio refers to an entire (possibly compound) page. A function > which takes a struct folio argument declares that it will operate on the > entire compound page, not just PAGE_SIZE bytes. In return, the caller > guarantees that the pointer it is passing does not point to a tail page. >
Is this a part of a larger use case or general cleanup/refactor where the split between page and folio simplify programming?
Balbir Singh.
| |