Thread (15 messages) 15 messages, 2 authors, 2021-06-15

Re: [PATCH 6/7] powerpc/uaccess: Add unsafe_clear_user()

flat view

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-06-15 06:53:57
Also in: lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help