[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3d166642-4062-42ed-9e24-1771cd819110@huawei.com>
Date: Wed, 6 Nov 2024 17:55:16 +0800
From: "Liao, Chang" <liaochang1@...wei.com>
To: <mhiramat@...nel.org>, <oleg@...hat.com>, <peterz@...radead.org>,
<catalin.marinas@....com>, <will@...nel.org>, <mark.rutland@....com>
CC: <linux-kernel@...r.kernel.org>, <linux-trace-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] arm64: uprobes: Optimize cache flushes for xol slot
Hi, Will and Catalin
在 2024/9/19 20:17, Liao Chang 写道:
> 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.
>
> Oleg.
Given that Oleg's fix info leak patch has been merged [1], the risk of leakage
is gone. So I am looking forward to your options about this patch. As many
functions start with same instructions like 'stp fp, lr, [sp, #imm]' or
'paciasp'. So I think this patch could avoid unnecessary D/I cache synchronization.
[1] https://lore.kernel.org/all/20240929162047.GA12611@redhat.com/
--
BR
Liao, Chang
Powered by blists - more mailing lists