summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-02-03 18:03:44 +0300
committerJens Axboe <axboe@kernel.dk>2023-02-03 18:20:04 +0300
commit0b6f93bdf07e52620f725f721e547408e0d04c9d (patch)
treef3af6f21fa7ef66764f8fb9d9d69ecdf42bef90a /tools/perf/scripts/python/libxed.py
parent178fa7d49815ea8001f43ade37a22072829fd8ab (diff)
downloadlinux-0b6f93bdf07e52620f725f721e547408e0d04c9d.tar.xz
blk-cgroup: improve error unwinding in blkg_alloc
Unwind only the previous initialization steps that happened in blkg_alloc using goto based unwinding. This avoids the need for the !queue special case in blkg_free and thus ensures that any blkg seens outside of blkg_alloc is always fully constructed. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20230203150400.3199230-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions