Messages in this thread | | | Date | Mon, 21 Jun 2021 15:58:40 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH v6 1/2] riscv: Introduce set_kernel_memory helper |
| |
On Thu, Jun 17, 2021 at 03:17:33PM +0200, Alexandre Ghiti wrote: > +int set_kernel_memory(char *start, char *end, int (*set_memory)(unsigned long, int));
Pretty unreadable with the crazy long line and the missing parameter names for the callback. It probably is worth to implement this as __always_inline so that the compiler unwinds the indirect call.
| |