diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-09-02 20:45:58 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:02:44 -0700 |
| commit | 379708ffde1b049bc41084e0a0572c44c8a1d2c4 (patch) | |
| tree | bbdcdc308602613fac33c8279e179d4e1dc10e2a /tools/perf/scripts/python/libxed.py | |
| parent | 49fd9b6df54e610d817f04ab0f94919f5c1a4f66 (diff) | |
mm: add the first tail page to struct folio
Some of the static checkers get confused by extracting the page from the
folio and referring to fields in the first tail page. Adding these fields
to struct folio lets us avoid doing that. It has the risk that people
will refer to those fields without checking that the folio is actually a
large folio, so prefix them with underscores and document the preferred
function to use instead.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions