Re: [PATCH] arm64: uprobes: Optimize cache flushes for xol slot

From: Oleg Nesterov
Date: Thu Sep 26 2024 - 12:09:27 EST


On 09/26, Liao, Chang wrote:
>
> 在 2024/9/23 18:52, Oleg Nesterov 写道:
> > On 09/23, Will Deacon wrote:
> >>
> >> However, we should use __GFP_ZERO anyway
> >> because I don't think it's a good idea to map an uninitialised page into
> >> userspace.
> >
> > Agreed, and imo this even needs a separate "fix info leak" patch.
>
> Do you mean to fill the entire page with CPU specific illegal instructions
> in this patch?

Hmm. Why?? No... OK, I'll write the changelog and send the trivial patch
in a minute.

Oleg.