From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F3D6CDE021 for ; Thu, 26 Sep 2024 16:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Tye5qerO5CBCY8lsDm6znBw3VH/UFoDPiSxLCCPG9w4=; b=EmcvUIIUp/YIyyzfGBaom7dxqU iXLk2c+AUaB9tpCo5c89AR4pp1XzAWff3xiTIQMZrtc93D+vNx9HrMri9PXGktoou2zngiGxdFyyq mU9ogrg1BKznzB3xmIRPNPydtq5BGO2sZpU7AJBhoGZYGtWy1ThUcAwwLHgLzb8VD1QBJxN8JCnob Lo/iQPOqcd0sj8NXM+tNm+qaQOt21v8XknLXdJXDroCMGpQ3JkrupfX7XvQpoPAlvb1bZUmt4knKP mFZ1/zk19ZXU1gFcNtfIQg63LKjZ4LmjEP6MDdU+OjRuhfvoumPM32eR6hkDYB+7j2G8KHSMlaJBe gSD8u82w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1str96-00000008rTR-3gh3; Thu, 26 Sep 2024 16:15:12 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1str2x-00000008qNx-1jFa for linux-arm-kernel@lists.infradead.org; Thu, 26 Sep 2024 16:08:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727366929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Tye5qerO5CBCY8lsDm6znBw3VH/UFoDPiSxLCCPG9w4=; b=EZouDjm03DnU3cpkX8iK1qJ7eeUxU5tsRiIh5BPIrx5hnyuidWx2cYWd7EqskyEOnuEHtp DJFMwc5eZX6OwpZRS+Pw6AE6z3yxD6UVcjKk7RWfQLWWuywNi7MkMoHN7d3Uv8qLAxns6T Vdm8Je5dn6wh3vyM90braZ/XVFEhZiA= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-647-FPkTXSsUOLG-ml5MbKYVPg-1; Thu, 26 Sep 2024 12:08:44 -0400 X-MC-Unique: FPkTXSsUOLG-ml5MbKYVPg-1 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (unknown [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2D04419792DE; Thu, 26 Sep 2024 16:08:42 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.224.133]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 7C22E195605A; Thu, 26 Sep 2024 16:08:38 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 26 Sep 2024 18:08:28 +0200 (CEST) Date: Thu, 26 Sep 2024 18:08:24 +0200 From: Oleg Nesterov To: "Liao, Chang" Cc: Will Deacon , Catalin Marinas , mhiramat@kernel.org, peterz@infradead.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: uprobes: Optimize cache flushes for xol slot Message-ID: <20240926160823.GA2592@redhat.com> References: <20240919121719.2148361-1-liaochang1@huawei.com> <20240919141824.GB12149@redhat.com> <41fdfc47-4161-d2e4-6528-4079b660424f@huawei.com> <20240923071856.GA31866@willie-the-truck> <20240923105228.GB20793@redhat.com> <522284d3-9655-3703-00e9-33f358dbc78d@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <522284d3-9655-3703-00e9-33f358dbc78d@huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240926_090851_542840_AFBBE54F X-CRM114-Status: GOOD ( 12.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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.