diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-11-03 08:17:28 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-06 13:54:15 -0700 |
commit | 6af82f7614a2e31e7ef23e5e160697aef31e8edd (patch) | |
tree | 1db4bbe5230113effdbafe0ea4030a67e9aa515e /lib/test_bits.c | |
parent | 01ee194d1aba1202f0926d5047a2a4cf84d0e45d (diff) |
io_uring/rsrc: encode node type and ctx together
Rather than keep the type field separate rom ctx, use the fact that we
can encode up to 4 types of nodes in the LSB of the ctx pointer. Doesn't
reclaim any space right now on 64-bit archs, but it leaves a full int
for future use.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_bits.c')
0 files changed, 0 insertions, 0 deletions