diff options
author | Gao Xiang <[email protected]> | 2020-12-08 17:58:32 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2020-12-08 18:08:21 +0800 |
commit | 6aaa7b0664e6886f6154070edbc24435d6e1f86b (patch) | |
tree | e071fea60039165f7eacf8b8780979811b0f80bc /tools/perf/scripts/python | |
parent | a426ce9d6751cc8e709f031fa546900e4239f125 (diff) |
erofs: get rid of magical Z_EROFS_MAPPING_STAGING
Previously, we played around with magical page->mapping for short-lived
temporary pages since we need to identify different types of pages in
the same pcluster but both invalidated and short-lived temporary pages
can have page->mapping == NULL. It was considered as safe because that
temporary pages are all non-LRU / non-movable pages.
This patch tends to use specific page->private to identify short-lived
pages instead so it won't rely on page->mapping anymore. Details are
described in "compress.h" as well.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions