From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACAA7392838 for ; Thu, 30 Apr 2026 09:17:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777540630; cv=none; b=EpKLDjcSbfNxkRUNw9y1LffMvV7OVlttOxkWpAV0Tx20llLWi16fwfcUN7F5bZccTlrZk3QtCZ1toMlwsQhnCUorSUj7tEVUWdEqPuIG+U8PLj4Ll56ExAne5mIfg9NK4pdQx9oE4b9Wc2ZUHkCDDb4h4VT6sbNvVEWkHkYelR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777540630; c=relaxed/simple; bh=zASkZpDnp0HKO3Di+BYa06DeuxEaSIIb9mLPGirXHSA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aPrUPorS6sWF4w8n+iSxWHPYHe45XscdY1yG/HnPWFYs0eyLvCDzJWKmm2yYyCmNLeb3VsR69jxsHNqzaxKtYl9o33643maMLviWBvv8L1N+JUUqtOY7YMLLXW+Eb2O4uxrkZhqhkE73tWT7wbWCCs8UmOtX5fv2MllOnIn2bw8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=YGh05/7U; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YGh05/7U" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1777540627; 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: in-reply-to:in-reply-to:references:references; bh=zASkZpDnp0HKO3Di+BYa06DeuxEaSIIb9mLPGirXHSA=; b=YGh05/7U9KnnR3DdfLPh4i/ZH2WLhUnGAwFlpbAdPujlAz3s30CYD6Tx9C82mBsjuTulW3 /TByb4V4gJDpIwDDkzXg+uKUA2IAtnleihwLfhGdbGZed5SXOz/y5ls1a/VXHAjZ3VtGcc eFuGMXrFp9So8tFMOIbJ4feh1C3WHnI= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-486-jvU-4sD1M2-nzrBsuwhr_w-1; Thu, 30 Apr 2026 05:17:04 -0400 X-MC-Unique: jvU-4sD1M2-nzrBsuwhr_w-1 X-Mimecast-MFC-AGG-ID: jvU-4sD1M2-nzrBsuwhr_w_1777540621 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7E4C01800358; Thu, 30 Apr 2026 09:17:00 +0000 (UTC) Received: from fedora (unknown [10.44.48.22]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 48D911800480; Thu, 30 Apr 2026 09:16:51 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Thu, 30 Apr 2026 11:17:00 +0200 (CEST) Date: Thu, 30 Apr 2026 11:16:50 +0200 From: Oleg Nesterov To: "Daniel Walker (danielwa)" , "David Hildenbrand (Arm)" Cc: "Darko Tominac -X (dtominac - GLOBALLOGIC INC at Cisco)" , Masami Hiramatsu , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , Andrew Morton , "Liam R. Howlett" , Lorenzo Stoakes , Vlastimil Babka , Jann Horn , "xe-linux-external(mailer list)" , "linux-kernel@vger.kernel.org" , "linux-trace-kernel@vger.kernel.org" , "linux-perf-users@vger.kernel.org" , "linux-mm@kvack.org" Subject: Re: [PATCH] mm/madvise: preserve uprobe breakpoints across MADV_DONTNEED Message-ID: References: <20260429131522.4049054-1-dtominac@cisco.com> <889e4186-9f75-45d3-bd9a-1c90b218a635@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 On 04/29, Daniel Walker (danielwa) wrote: > > Shouldn't there be some sort of compensation or notification for this, or is each person that > hits this suppose to just scratch their head and send a patch that's rejected? Not sure... uprobes assumes that it owns the modified page and nobody can modify/unmap it, including the probed application or debugger. But may be MADV_DONTNEED should not set zap_details.even_cows == true by default ? Oleg.