Thread (140 messages) 140 messages, 21 authors, 2018-12-04

Re: [PATCH 05/17] prmem: shorthands for write rare on common types

From: Igor Stoppa <hidden>
Date: 2018-10-29 18:12:40
Also in: linux-integrity, linux-mm, lkml


On 25/10/2018 01:28, Dave Hansen wrote:
On 10/23/18 2:34 PM, Igor Stoppa wrote:
quoted
Wrappers around the basic write rare functionality, addressing several
common data types found in the kernel, allowing to specify the new
values through immediates, like constants and defines.
I have to wonder whether this is the right way, or whether a
size-agnostic function like put_user() is the right way.  put_user() is
certainly easier to use.
I definitely did not like it either.
But it was the best that came to my mind ...
The main purpose of this code was to show what I wanted to do.
Once more, thanks for pointing out a better way to do it.

--
igor
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help