Re: [PATCH] mm: kfence: Fix false positives on big endian

2023-05-05 Thread Alexander Potapenko
kfence: improve the performance of > __kfence_alloc() and __kfence_free()") > Signed-off-by: Michael Ellerman > Reviewed-by: Alexander Potapenko

Re: [PATCH v3 1/2] mm, hwpoison: Try to recover from copy-on write faults

2022-11-02 Thread Alexander Potapenko
On Wed, Nov 2, 2022 at 3:27 PM Alexander Potapenko wrote: > > On Fri, Oct 28, 2022 at 6:14 PM Luck, Tony wrote: > > > > >> +vfrom = kmap_local_page(from); > > >> +vto = kmap_local_page(to); > > >> +ret = copy_mc_to_kernel(vto, vfro

Re: [PATCH v3 1/2] mm, hwpoison: Try to recover from copy-on write faults

2022-11-02 Thread Alexander Potapenko
er may get stale. > > Anyway, this patch looks good to me. Thanks. > > > > Reviewed-by: Miaohe Lin > > Thanks for the review. > > -Tony -- Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Straße, 33 80636 München Geschäftsführer: Paul Manicle, Liana Sebastian Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg

Re: [PATCH v4 07/11] mm: kasan: Use is_kernel() helper

2021-09-30 Thread Alexander Potapenko
On Thu, Sep 30, 2021 at 9:09 AM Kefeng Wang wrote: > > Directly use is_kernel() helper in kernel_or_module_addr(). > > Cc: Andrey Ryabinin > Cc: Alexander Potapenko > Cc: Andrey Konovalov > Cc: Dmitry Vyukov > Signed-off-by: Kefeng Wang Reviewed-by: Alexander Potap

Re: [RFC PATCH v1] powerpc: Enable KFENCE for PPC32

2021-03-02 Thread Alexander Potapenko
> [ 14.998426] BUG: KFENCE: invalid read in > finish_task_switch.isra.0+0x54/0x23c > [ 14.998426] > [ 15.007061] Invalid read at 0x(ptrval): > [ 15.010906] finish_task_switch.isra.0+0x54/0x23c > [ 15.015633] kunit_try_run_case+0x5c/0xd0 > [ 15.019682]