On 1/31/25 16:26, Jens Axboe wrote:
On 1/31/25 9:24 AM, Pavel Begunkov wrote:It's very unlikely, but in theory cache creation can fail during initcall, so don't forget to return errors back if something goes wrong.This is why SLAB_PANIC is used, it'll panic if this fails. That's commonly used for setup/init time kind of setups, where we never expect any failure to occur. Hence this can never return NULL.
Yeah, missed it, thanks -- Pavel Begunkov