Re: Deprecating and removing SLOB

From: Theodore Ts'o
Date: Wed Nov 09 2022 - 23:41:58 EST


On Thu, Nov 10, 2022 at 01:48:32AM +0200, Aaro Koskinen wrote:
>
> Some of the reported SLOB issues have been actually real driver bugs,
> that go unnoticed when SLUB/SLAB are used (unless perhaps debug stuff
> is enabled). I'm not saying kernel should keep SLOB, but it's good at
> failing early when there is a bug. See e.g. commit 120ee599b5bf ("staging:
> octeon-usb: prevent memory corruption")

Out of curiosity, are these bugs that would have been found using
KASAN or some of the other kernel sanitizers and/or other debugging
tools we have at our disposal?

- Ted