Re: [PATCH v2] kasan, slub: fix handling of kasan_slab_free hook

2018-03-07 Thread Andrey Ryabinin
On 03/06/2018 09:18 PM, Andrey Konovalov wrote: > The kasan_slab_free hook's return value denotes whether the reuse of a > slab object must be delayed (e.g. when the object is put into memory > qurantine). > > The current way SLUB handles this hook is by ignoring its return value > and

Re: [PATCH v2] kasan, slub: fix handling of kasan_slab_free hook

2018-03-07 Thread Andrey Ryabinin
On 03/06/2018 09:18 PM, Andrey Konovalov wrote: > The kasan_slab_free hook's return value denotes whether the reuse of a > slab object must be delayed (e.g. when the object is put into memory > qurantine). > > The current way SLUB handles this hook is by ignoring its return value > and