From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154AbdIMU2c (ORCPT ); Wed, 13 Sep 2017 16:28:32 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47362 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752022AbdIMU23 (ORCPT ); Wed, 13 Sep 2017 16:28:29 -0400 From: "Naveen N. Rao" To: Ingo Molnar Cc: Oleg Nesterov , Srikar Dronamraju , Anton Blanchard , Michael Ellerman , Ananth N Mavinakayanahalli , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] A few uprobe fixes Date: Thu, 14 Sep 2017 01:57:59 +0530 X-Mailer: git-send-email 2.14.1 X-TM-AS-MML: disable x-cbid: 17091320-0040-0000-0000-000003560020 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17091320-0041-0000-0000-00000CD64D8B Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-09-13_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1709130312 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch adds a warning if we are unable to install a uprobe breakpoint and is unchanged from the previous posting at: https://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg123290.html The second patch just rate limits the uprobe warnings and is new in this series. The third patch fixes how we check for an active uprobe -- we need to consider if we were actually successful in installing the breakpoint. This patch is new in this series as well. - Naveen Naveen N. Rao (3): kernel/uprobes: Warn if unable to install breakpoint kernel/uprobes: Ratelimit messages kernel/uprobes: Fix check for active uprobe kernel/events/uprobes.c | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) -- 2.14.1