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

From: Dave Hansen
Date: Wed Oct 24 2018 - 20:28:16 EST

On 10/23/18 2:34 PM, Igor Stoppa wrote:
> 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.