diff options
author | Christoph Hellwig <[email protected]> | 2021-11-26 12:58:14 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-11-29 06:41:29 -0700 |
commit | 8ffc13680eac16a1eec86275b65fc6f0e27a30d8 (patch) | |
tree | db16d6b30b907c381f0288e57016abbbfebdeb29 /scripts/gdb/linux/vmalloc.py | |
parent | a0f14d8baaca3e2f3e57bdb062eb476175c90e83 (diff) |
block: use alloc_io_context in __copy_io
In __copy_io we know that the newly allocate task_struct does not have
an I/O context yet and is not exiting. So just allocate the I/O context
struct and install it directly. There is no need to lock the task
either as it is just being created.
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions