summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-03-23 08:50:52 +0100
committerCarlos Maiolino <cem@kernel.org>2026-03-30 16:34:05 +0200
commitd02ee47bbeedd10d36cc408f92e645447cf5495d (patch)
tree8d36b773c95cf11bb757f050af0eb58dcb0d2128 /tools/perf/scripts/python
parent67fe4303972eb6f911f62e2fe6ac7628b17d95c0 (diff)
xfs: use a lockref for the buffer reference count
The lockref structure allows incrementing/decrementing counters like an atomic_t for the fast path, while still allowing complex slow path operations as if the counter was protected by a lock. The only slow path operations that actually need to take the lock are the final put, LRU evictions and marking a buffer stale. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions