Re: [PATCH v2 2/2] x86/process: Silence KASAN warnings in get_wchan()

From: Ingo Molnar
Date: Tue Oct 13 2015 - 10:25:47 EST



* Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:

> > Hm, exactly how is the 'red zone' defined? Is this about the current task
> > mostly, or when doing get_wchan() on other tasks?
>
> When code is compiled with AddressSanitizer, most variables on stack have
> redzones around them, on entry function "poisons" these redzones (any accesses
> to them will be flagged), on exit function "unpoisons" these redzones.

I see, fair enough!

This series looks good to me, modulo the small documentation nit I had about the
first patch.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/