summaryrefslogtreecommitdiff
path: root/include/linux/threads.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-09-02 20:45:58 +0100
committerAndrew Morton <akpm@linux-foundation.org>2022-10-03 14:02:44 -0700
commit379708ffde1b049bc41084e0a0572c44c8a1d2c4 (patch)
treebbdcdc308602613fac33c8279e179d4e1dc10e2a /include/linux/threads.h
parent49fd9b6df54e610d817f04ab0f94919f5c1a4f66 (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/20220902194653.1739778-3-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/threads.h')
0 files changed, 0 insertions, 0 deletions