From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754039Ab2L1SNr (ORCPT ); Fri, 28 Dec 2012 13:13:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:18908 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753995Ab2L1SNe (ORCPT ); Fri, 28 Dec 2012 13:13:34 -0500 Date: Fri, 28 Dec 2012 19:12:52 +0100 From: Oleg Nesterov To: Ingo Molnar , Peter Zijlstra , Srikar Dronamraju Cc: Ananth N Mavinakayanahalli , Anton Arapov , Frank Eigler , Josh Stone , "Suzuki K. Poulose" , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] uprobes: pre-filtering Message-ID: <20121228181252.GA6120@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. On top of preparations I sent a month ago. Srikar, you still didn't review the last 2 patches. I assume you do not care so I am going to add them without your ack. Initially I was going to send more patches in this series. We can add some optimizations to avoid the unnecessary register_for_each_vma() or even consumer->filter() if there is a consumer with ->filter == NULL. But lets do this later, lets discuss the functional change first. Next steps: - teach handler_chain() to remove the unwanted breakpoints - if the above is not enough, implement UPROBE_FILTER_FORK - implement uprobe_apply(consumer, task, is_register) ? Ole.