diff options
| author | Matteo Croce <[email protected]> | 2021-06-07 21:02:36 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-07 14:11:47 -0700 |
| commit | c07aea3ef4d4076f18f567b98ed01e082e02ed51 (patch) | |
| tree | f52beca6a7fefeb1f14f7fb92efa914a3682b86f /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 35cba15a504bf4f585bb9d78f47b22b28a1a06b2 (diff) | |
mm: add a signature in struct page
This is needed by the page_pool to avoid recycling a page not allocated
via page_pool.
The page->signature field is aliased to page->lru.next and
page->compound_head, but it can't be set by mistake because the
signature value is a bad pointer, and can't trigger a false positive
in PageTail() because the last bit is 0.
Co-developed-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Matteo Croce <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions