https://github.com/torvalds/linux
Revision addebd9ac9ca0ef8b3764907bf8018e48caffc64 authored by Keith Busch on 12 August 2022, 22:56:33 UTC, committed by Jens Axboe on 12 August 2022, 23:00:35 UTC
This is a size sensitive structure and randomizing can introduce extra
padding that breaks io_uring's fixed size expectations. There are few
fields here as it is, half of which need a fixed order to optimally
pack, so the randomization isn't providing much.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/io-uring/b6f508ca-b1b2-5f40-7998-e4cff1cf7212@kernel.dk/
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent da2634e
Raw File
Tip revision: addebd9ac9ca0ef8b3764907bf8018e48caffc64 authored by Keith Busch on 12 August 2022, 22:56:33 UTC
fs: don't randomize struct kiocb fields
Tip revision: addebd9
.get_maintainer.ignore
Christoph Hellwig <hch@lst.de>
Marc Gonzalez <marc.w.gonzalez@free.fr>
back to top