[RFC PATCH v1] powerpc/radix/kasan: KASAN support for Radix

Balbir Singh bsingharora at gmail.com
Sun Jul 30 09:06:10 AEST 2017


On Sun, Jul 30, 2017 at 8:58 AM, Balbir Singh <bsingharora at gmail.com> wrote:
>> +
>> +extern struct static_key_false powerpc_kasan_enabled_key;
>> +#define check_return_arch_not_ready() \
>> +       do {                                                            \
>> +               if (!static_branch_likely(&powerpc_kasan_enabled_key))  \
>> +                       return;                                         \
>> +       } while (0)
>
> This is supposed to call __mem*() before returning, I'll do a new RFC,
> I must have missed it in my rebasing somewhere

Sorry for the noise, I am sleep deprived, I was trying to state that this
does not work for hash (with disable_radix on the command-line)

Balbir Singh.


More information about the Linuxppc-dev mailing list