From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yOXJp81r" 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-Google-Smtp-Source: AGHT+IEW7NFlAXtt0eb3qEVFrk9JxABFiNRfMx5pOzC0ESg5/RMCffY6KCodQ4v8J7x5a4GlkvTfcw== 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é