lkml.org 
[lkml]   [2016]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] mm/slub: support left redzone
From
2016-02-26 7:36 GMT+03:00  <js1304@gmail.com>:
> From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
>
> SLUB already has a redzone debugging feature. But it is only positioned
> at the end of object (aka right redzone) so it cannot catch left oob.
> Although current object's right redzone acts as left redzone of next
> object, first object in a slab cannot take advantage of this effect. This
> patch explicitly adds a left red zone to each object to detect left oob
> more precisely.
>

So why for each object? Can't we have left redzone only for the first object?

\
 
 \ /
  Last update: 2016-02-26 18:21    [W:0.364 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site