summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorZhang Yi <yi.zhang@huawei.com>2026-09-28 20:08:33 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-24 01:55:55 -0700
commitf9be69fcacf01e945df4c68b488474cf4b6e7181 (patch)
tree199597c7d6cbe2cc8b7b123c3f921c9558111bf3 /tools/perf/scripts/python/exported-sql-viewer.py
parentad2747979368278ec0193d71574ba5f1a225d409 (diff)
mm/truncate: clarify return value of truncate_inode_partial_folio()
With the earlier rework the callers no longer rely on the return value of truncate_inode_partial_folio() to decide whether to adjust the truncation range. The pstart/pend out-parameters carry that information instead. The callers now only use the return value as a flag indicating whether the loop should be reset to pick up newly split sub-folios on the shmem path. Return true if at least one split succeeded, and false otherwise. This clarifies the existing confusing return value semantics. Link: https://lore.kernel.org/20260928120833.3440834-5-yi.zhang@huaweicloud.com Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Brian Foster <bfoster@redhat.com> Acked-by: Zi Yan <ziy@nvidia.com> Cc: David Hildenbrand <david@kernel.org> Cc: Lorenzo Stoakes <ljs@kernel.org> Cc: Liam R. Howlett <liam@infradead.org> Cc: Vlastimil Babka <vbabka@kernel.org> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Hugh Dickins <hughd@google.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Joanne Koong <joannelkoong@gmail.com> Cc: Darrick J. Wong <djwong@kernel.org> Cc: <yizhang089@gmail.com> Cc: Yang Erkun <yangerkun@huawei.com> Cc: Zhihao Cheng <chengzhihao1@huawei.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: <yukuai@fnnas.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions