Le 15/06/2021 à 08:53, Christoph Hellwig a écrit :
On Tue, Jun 15, 2021 at 06:41:02AM +, Christophe Leroy wrote:
Implement unsafe_clear_user() for powerpc.
It's a copy/paste of unsafe_copy_to_user() with value 0 as source.
It may be improved in a later patch by using 'dcbz' instruction
t
On Tue, Jun 15, 2021 at 06:41:02AM +, Christophe Leroy wrote:
> Implement unsafe_clear_user() for powerpc.
> It's a copy/paste of unsafe_copy_to_user() with value 0 as source.
>
> It may be improved in a later patch by using 'dcbz' instruction
> to zeroize full cache lines at once.
Please add
Implement unsafe_clear_user() for powerpc.
It's a copy/paste of unsafe_copy_to_user() with value 0 as source.
It may be improved in a later patch by using 'dcbz' instruction
to zeroize full cache lines at once.
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/uaccess.h | 20