[PATCH 6/7] powerpc/uaccess: Add unsafe_clear_user()
Christoph Hellwig
hch at infradead.org
Tue Jun 15 16:53:20 AEST 2021
On Tue, Jun 15, 2021 at 06:41:02AM +0000, 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 this to common code insted of making it powerpc specific.
More information about the Linuxppc-dev
mailing list