Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1157436lqe; Sun, 7 Apr 2024 23:28:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUGRNqzr0rnfQvi28VX+C0riCo9xOVK0xKa+cu05zHaVXQHuXW679f1QSxoZPGT4OJK8wiw4DraV90zQX7pvLZI8H8bvzKlFPNv0RCwfg== X-Google-Smtp-Source: AGHT+IFp9IAOH+J+37CDywwS3+lw9xbCD0MH45q2HwAowg7pVGIZPCKpDCw4cAuYzuEaHeS1jw3s X-Received: by 2002:a05:6214:f6d:b0:69b:1f8d:3013 with SMTP id iy13-20020a0562140f6d00b0069b1f8d3013mr890959qvb.59.1712557715062; Sun, 07 Apr 2024 23:28:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712557715; cv=pass; d=google.com; s=arc-20160816; b=cvrmV/4NipY7MkJFOvw/+Y1kcEeqtWEe+qRXxd0ZPAQDmAWTbqCa3FCTSgm8y44zNq bi/yJgDf1+zEOTjIteWKi6HgsimeRu8FbzNso673kt6EKTDR4p/0ST4dix+QeSgLsNzX Tn+JgVpn5Xogy84KjzK5RzY1BlgetFnC+U4nyCrIklirORP6XrWHrkqDSNJ3iBViu6qU FYN8Fz9Ol0vk0Hel04CFWGmd2DEg5GNJg2c0jePtzCud8DTXPGjVMg1/pqQsYd4L0xjS ndL7X3q+1Pchk2DWQ4/peIhhfciLtP3c+48+FwbZ7sZ8b2CCJysqNquN5yLrGife5mWo iWUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Z6EgD/Muel3BqCojSMMdXuM1Td/LzqFDog01ouaIAt4=; fh=8szWjGNzftssBLctCf9yTj9Gj8jevXPyzKj/cNey/Eo=; b=TVpPBnjQq2sx4imO7YBgI9oBxq3r3h4Cea5zFahsg/LUyywbTkwQPZ3QgsWidpH5kT pqYqOORzA32cw82fkb+hgKPD8k7ORxQ8/TVdqBCHhmVFz4q7zp8LbcGVqvcHs66UNuZ1 Yq5Qd5iOnF6S1TQO2fU4X1sUiSmFa7RGRkoxfqqs+XzTe/8VdSvpha2G7HY4dLg2hAkm QV/uIdg09SdK64OPgeu3sl3qjilgi1DEIeknnlLUKdVxMAveJ4mAbOI4y6CDZRbIvr9S Ubh0nR4oAttjd/F4FujZdVlB+9GfG8JX+aXJ8hSDJk0DfsEwLobPEt6rqC7sq2BYXXZf lsAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yOXJp81r; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-134833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134833-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u18-20020a0cb692000000b0069b206d7bc0si510462qvd.80.2024.04.07.23.28.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 23:28:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yOXJp81r; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-134833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134833-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C5FC41C215A5 for ; Mon, 8 Apr 2024 06:28:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36E771119A; Mon, 8 Apr 2024 06:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yOXJp81r" Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EDAC111A8 for ; Mon, 8 Apr 2024 06:28:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712557703; cv=none; b=r0eus8DQl0HTXkhJBmej0deNdHVoNZwEzzGOihmHFnwpKLvp1U3+JV0BTKDMTL3g7dvO75/gw0ejHU/FJHUdgRYNtYgvbi0R5Daa4Wb4BbjgeRDdLFgXXiyzrLev820BIHfmuK0ridUoMyooDnQbsYWpP+q1xISBlOBO4STz+24= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712557703; c=relaxed/simple; bh=IE2dQfOBUfWFV2sRzZOKfpp0BxlqrHbr9xEZn3IEuP8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TFldxWEbn/pCVgz+RSjqD4D80lo7gbmpikh3WnR+WkLVJlPKiNoxpjwT0Np6oEJ1H2ScfgDdGSGukQUGtBdaXH93JlvMPmCgI8sltxa0+yNd+lBD6e9Jvj/dwjAI6eV6RiPogphbYiRnyHLKZUPBumZinFEpA4frgwrhLBt9KBg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yOXJp81r; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-56e37503115so1980912a12.1 for ; Sun, 07 Apr 2024 23:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712557700; x=1713162500; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Z6EgD/Muel3BqCojSMMdXuM1Td/LzqFDog01ouaIAt4=; b=yOXJp81rAaNrq1CgYmdLDH1j2ny2sATQ0Jm61sa5Ex90e+AQSMQhg6fXhzgwPXh+TS OF9HCV32Sup3zJYhk3DGDBMvinJDnerJ36Eq2Yr2KFP/2FFR5W8U0KG8ut4nICKn9TKn P5NnSElxCBYRuJu+eoWCyXpBkpD/nWEcBg09Pn3yddBbMT65naPeqwDJbKhP0jsbYtKB 7OdZ/5XPp7Bq+yYrJrP12JX2XHV0GNhrJUJiBn/vywNEnxPx6BZtdtKjnBNHE+kAD4MJ l+ZUV9TgVBlx/djmlOfNyNIC9HTDITSqNjcdzrGqn1uWQ9hbrAxInlbTWYGomjY2z/gY Wxfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712557700; x=1713162500; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Z6EgD/Muel3BqCojSMMdXuM1Td/LzqFDog01ouaIAt4=; b=LC1u5sJSAkkZhyxJ0qtpD6yupKz7z/cBh+Qz7CwAr3yqnR9Hm/a5I9F1duNdlikZKG pIFzLzGyyd77eDDbHlscGiaa3A/dSnMemtny5UgTevBp+uc6qsDmsXJOHiwCzetVvBHY CKnKEbq/elAKcnG2hsmhUozFL2XEIBUQAyPAn1S7l0bYIGUmhHHfu6GCVPWT900H2NGd +IlHU7XStx4gC3MqOFOZqmQIJ5W652PUzLT4u344La5eAiM1TXihkT66fV5BTHIHzkZY y25ZkxqSAuzYJ0gWU2PW6UgZXhXmk0LFGrRhy3PWnEf6N9tw7SOO4V+yBOLC4UwfPCHG DdSw== X-Forwarded-Encrypted: i=1; AJvYcCW0D8iZwWStYtkha2rItoiy7rMAnRFulxY6rScE7kJVqwElGHJsqghGMk0ov0IC/BOXVj6ay/EXzQJS5e2qR3EYivvFqWX0FHqS0LBU X-Gm-Message-State: AOJu0YxyZpL9ovsgO53+MXkmCwS0ICIYx8+WMKbfwKlcVCHd8spaSI0D uBAaKXRosHS2+PmQ7vTzXJotEYkJo8mgiOzLjet1v0aP+zzh88ArfWzQlb1RdTc= X-Received: by 2002:a50:bae3:0:b0:56c:18d5:1e27 with SMTP id x90-20020a50bae3000000b0056c18d51e27mr5576700ede.5.1712557699936; Sun, 07 Apr 2024 23:28:19 -0700 (PDT) Received: from [192.168.69.100] ([176.176.144.67]) by smtp.gmail.com with ESMTPSA id k19-20020aa7c393000000b0056bfb7004basm3538428edq.90.2024.04.07.23.28.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Apr 2024 23:28:19 -0700 (PDT) Message-ID: <2e481816-2b06-432c-b09c-e92e230debe8@linaro.org> Date: Mon, 8 Apr 2024 08:28:16 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/4] mm: replace set_pte_at_notify() with just set_pte_at() To: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Marc Zyngier , Oliver Upton , Tianrui Zhao , Bibo Mao , Thomas Bogendoerfer , Nicholas Piggin , Anup Patel , Atish Patra , Sean Christopherson , Andrew Morton , David Hildenbrand , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org References: <20240405115815.3226315-1-pbonzini@redhat.com> <20240405115815.3226315-5-pbonzini@redhat.com> Content-Language: en-US From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20240405115815.3226315-5-pbonzini@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 5/4/24 13:58, Paolo Bonzini wrote: > With the demise of the .change_pte() MMU notifier callback, there is no > notification happening in set_pte_at_notify(). It is a synonym of > set_pte_at() and can be replaced with it. > > Signed-off-by: Paolo Bonzini > --- > include/linux/mmu_notifier.h | 2 -- > kernel/events/uprobes.c | 5 ++--- > mm/ksm.c | 4 ++-- > mm/memory.c | 7 +------ > mm/migrate_device.c | 8 ++------ > 5 files changed, 7 insertions(+), 19 deletions(-) Reviewed-by: Philippe Mathieu-Daudé