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

Ard Biesheuvel ardb at kernel.org
Sat Jun 27 03:57:50 EDT 2020


On Sat, 27 Jun 2020 at 09:57, Christoph Hellwig <hch at lst.de> wrote:
>
> 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