- Remove CONFIG_SLAB ifdefs. The code works just fine with both allocators.
- Reset metada offsets if metadata doesn't fit. Otherwise kasan_metadata_size()
will give us the wrong results.
Signed-off-by: Andrey Ryabinin
---
mm/kasan/kasan.c | 17 +
1 file
- Remove CONFIG_SLAB ifdefs. The code works just fine with both allocators.
- Reset metada offsets if metadata doesn't fit. Otherwise kasan_metadata_size()
will give us the wrong results.
Signed-off-by: Andrey Ryabinin
---
mm/kasan/kasan.c | 17 +
1 file changed, 5
On Fri, Jul 15, 2016 at 6:50 PM, Andrey Ryabinin
wrote:
> - Remove CONFIG_SLAB ifdefs. The code works just fine with both allocators.
> - Reset metada offsets if metadata doesn't fit. Otherwise
> kasan_metadata_size()
> will give us the wrong results.
>
> Signed-off-by:
On Fri, Jul 15, 2016 at 6:50 PM, Andrey Ryabinin
wrote:
> - Remove CONFIG_SLAB ifdefs. The code works just fine with both allocators.
> - Reset metada offsets if metadata doesn't fit. Otherwise
> kasan_metadata_size()
> will give us the wrong results.
>
> Signed-off-by: Andrey Ryabinin
4 matches
Mail list logo