Re: [PATCH v2] mm/slub: support left redzone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2016-02-26 7:36 GMT+03:00  <js1304@xxxxxxxxx>:
> From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
>
> 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?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]