diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2026-01-20 14:44:47 -0800 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-03-03 17:43:26 +0100 |
| commit | 25307ca50b815c14a21f82fc5b10e8a621af32ad (patch) | |
| tree | c1a1327ed7f04eb0d3a093272e91f2d883d9752d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 65161470f95bb579a72673bf303ecf0800b9054b (diff) | |
fuse: simplify logic in fuse_notify_store() and fuse_retrieve()
Simplify the folio parsing logic in fuse_notify_store() and
fuse_retrieve().
In particular, calculate the index by tracking pos, which allows us to
remove calculating nr_pages, and use "pos" in place of outarg's offset
field.
Suggested-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
