Skip to contentSkip to conversation

io_uring updates for 6.5

GIT PULL Sergey Senozhatsky 1 participant 1 message Jun 27, 2023 io_uring

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Linus Torvalds

mm/zsmalloc.c:

       set_freeobj(zspage, (unsigned int)(-1UL));

[..]

Quoted 7 lines

both of which are impressively confused. There's sadly a number of other cases too.

That zsmalloc.c case is impressively crazy. First you use the wrong type, then you use the wrong operation, and then you use a cast to fix it all up. Absolutely none of which makes any sense, and it should just have used "-1".

That zsmalloc code is gone, you should not see it after you pull MM patches from Andrew.