Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1344453

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

From Andrey Ryabinin <ryabinin.a.a@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] mm/slub: support left redzone
Date 2016-02-26 17:50 +0100
Message-ID <r6tKy-67J-27@gated-at.bofh.it> (permalink)
References <r6im5-6jt-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] mm/slub: support left redzone js1304@gmail.com - 2016-02-26 05:40 +0100
  Re: [PATCH v2] mm/slub: support left redzone Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2016-02-26 17:50 +0100
    Re: [PATCH v2] mm/slub: support left redzone Joonsoo Kim <js1304@gmail.com> - 2016-02-26 18:10 +0100

csiph-web