summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2022-10-21 16:46:09 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-11-08 17:37:20 -0800
commitb5f1fc98c62b6b75e9f7499e7519dc67684affd3 (patch)
tree9392b184ee88edf277795e3ca14d06b5687db5fa /tools/perf/scripts/python
parentf39556bc2530c83a22bc11b73c7a46df9a340685 (diff)
downloadlinux-b5f1fc98c62b6b75e9f7499e7519dc67684affd3.tar.gz
linux-b5f1fc98c62b6b75e9f7499e7519dc67684affd3.zip
mm: memory-failure: make put_ref_page() more useful
Pass pfn/flags to put_ref_page(), then check MF_COUNT_INCREASED and drop refcount to make the code look cleaner. Link: https://lkml.kernel.org/r/20221021084611.53765-1-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions