[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20E775CA4D599049A25800DE5799F6DD1F61F1DD@G9W0752.americas.hpqcorp.net>
Date: Tue, 3 May 2016 07:58:57 +0000
From: "Luruo, Kuthonuzo" <kuthonuzo.luruo@....com>
To: Alexander Potapenko <glider@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>
CC: Andrey Ryabinin <aryabinin@...tuozzo.com>,
Andrew Morton <akpm@...ux-foundation.org>,
kasan-dev <kasan-dev@...glegroups.com>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] kasan: improve double-free detection
> >
> > I missed that Alexander already landed patches that reduce header size
> > to 16 bytes.
> > It is not OK to increase them again. Please leave state as bitfield
> > and update it with CAS (if we introduce helper functions for state
> > manipulation, they will hide the CAS loop, which is nice).
> Note that in this case you'll probably need to update alloc_size with
> CAS loop as well.
Not sure I understood this; Anyway, revised kasan_alloc_meta in upcoming patch
should make this unnecessary.
Thanks,
Kuthonuzo
Powered by blists - more mailing lists