diff options
author | Christoph Hellwig <[email protected]> | 2023-02-03 16:03:44 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-02-03 08:20:04 -0700 |
commit | 0b6f93bdf07e52620f725f721e547408e0d04c9d (patch) | |
tree | f3af6f21fa7ef66764f8fb9d9d69ecdf42bef90a /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 178fa7d49815ea8001f43ade37a22072829fd8ab (diff) |
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 <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions