Re: [PATCH v7 1/2] riscv: Introduce set_kernel_memory helper

From: Christoph Hellwig
Date: Wed Jun 23 2021 - 03:13:15 EST


On Tue, Jun 22, 2021 at 10:53:04PM +0800, Jisheng Zhang wrote:
> >
> > +__always_inline int set_kernel_memory(char *startp, char *endp,
>
> If __always_inline, can it be moved to set_memory.h?

Yes, __always_inline pretty much only makes sense as
"static __always_inline" anyway.