Re: [PATCH 2/3] arm64: use PAGE_KERNEL_ROX directly in alloc_insn_page
From: Ard Biesheuvel
Date: Sat Jun 27 2020 - 03:58:08 EST
On Sat, 27 Jun 2020 at 09:57, Christoph Hellwig <hch@xxxxxx> 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.
:-)