[PATCH v3 14/15] kasan: add a test for kmem_cache_alloc/free_bulk
Andrey Konovalov
andreyknvl at google.com
Fri Jan 15 12:24:22 EST 2021
On Fri, Jan 15, 2021 at 2:49 PM Alexander Potapenko <glider at google.com> wrote:
>
> On Fri, Jan 15, 2021 at 2:16 PM Marco Elver <elver at google.com> wrote:
> >
> > On Thu, Jan 14, 2021 at 08:36PM +0100, Andrey Konovalov wrote:
> > > Add a test for kmem_cache_alloc/free_bulk to make sure there are no
> > > false-positives when these functions are used.
> > >
> > > Link: https://linux-review.googlesource.com/id/I2a8bf797aecf81baeac61380c567308f319e263d
> > > Signed-off-by: Andrey Konovalov <andreyknvl at google.com>
> >
> > Reviewed-by: Marco Elver <elver at google.com>
> Reviewed-by: Alexander Potapenko <glider at google.com>
>
> (see a nit below)
>
> > > + cache = kmem_cache_create("test_cache", size, 0, 0, NULL);
> Looks like there's a tab between "test_cache" and size, please double-check.
Indeed, thanks for noticing! Will fix.
More information about the linux-arm-kernel
mailing list