[PATCH 2/3] arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page

Christoph Hellwig hch at lst.de
Sat Jun 27 03:56:59 EDT 2020


On Sat, Jun 27, 2020 at 09:34:42AM +0200, Ard Biesheuvel wrote:
> > +       return __vmalloc_node_range(PAGE_SIZE, 1, VMALLOC_START, VMALLOC_END,
> > +                       GFP_KERNEL, PAGE_KERNEL_ROX, VM_FLUSH_RESET_PERMS,
> > +                       NUMA_NO_NODE, __func__);
> 
> Why is this passing a string for the 'caller' argument, and not the
> address of the caller?

Dementia.  Fix sent.



More information about the linux-arm-kernel mailing list