From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by kanga.kvack.org (Postfix) with ESMTP id 7B83F6B008A for ; Fri, 25 Nov 2011 10:23:41 -0500 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RTxcp-0003sN-07 for linux-mm@kvack.org; Fri, 25 Nov 2011 15:23:39 +0000 Received: from j77219.upc-j.chello.nl ([24.132.77.219] helo=dyad.programming.kicks-ass.net) by canuck.infradead.org with esmtpsa (Exim 4.76 #1 (Red Hat Linux)) id 1RTxco-00031R-O1 for linux-mm@kvack.org; Fri, 25 Nov 2011 15:23:38 +0000 Subject: Re: [PATCH v7 3.2-rc2 12/30] uprobes: Handle breakpoint and Singlestep From: Peter Zijlstra In-Reply-To: <20111118110903.10512.88532.sendpatchset@srdronam.in.ibm.com> References: <20111118110631.10512.73274.sendpatchset@srdronam.in.ibm.com> <20111118110903.10512.88532.sendpatchset@srdronam.in.ibm.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 25 Nov 2011 16:24:22 +0100 Message-ID: <1322234662.2535.8.camel@laptop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Srikar Dronamraju Cc: Linus Torvalds , Oleg Nesterov , Andrew Morton , LKML , Linux-mm , Ingo Molnar , Andi Kleen , Christoph Hellwig , Steven Rostedt , Roland McGrath , Thomas Gleixner , Masami Hiramatsu , Arnaldo Carvalho de Melo , Anton Arapov , Ananth N Mavinakayanahalli , Jim Keniston , Stephen Wilson On Fri, 2011-11-18 at 16:39 +0530, Srikar Dronamraju wrote: > + consumer = uprobe->consumers; > + for (consumer = uprobe->consumers; consumer; > + consumer = consumer->next) { that first expression seems redundant.. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752520Ab1KYPXk (ORCPT ); Fri, 25 Nov 2011 10:23:40 -0500 Received: from merlin.infradead.org ([205.233.59.134]:38463 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173Ab1KYPXj (ORCPT ); Fri, 25 Nov 2011 10:23:39 -0500 Subject: Re: [PATCH v7 3.2-rc2 12/30] uprobes: Handle breakpoint and Singlestep From: Peter Zijlstra To: Srikar Dronamraju Cc: Linus Torvalds , Oleg Nesterov , Andrew Morton , LKML , Linux-mm , Ingo Molnar , Andi Kleen , Christoph Hellwig , Steven Rostedt , Roland McGrath , Thomas Gleixner , Masami Hiramatsu , Arnaldo Carvalho de Melo , Anton Arapov , Ananth N Mavinakayanahalli , Jim Keniston , Stephen Wilson In-Reply-To: <20111118110903.10512.88532.sendpatchset@srdronam.in.ibm.com> References: <20111118110631.10512.73274.sendpatchset@srdronam.in.ibm.com> <20111118110903.10512.88532.sendpatchset@srdronam.in.ibm.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 25 Nov 2011 16:24:22 +0100 Message-ID: <1322234662.2535.8.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2011-11-18 at 16:39 +0530, Srikar Dronamraju wrote: > + consumer = uprobe->consumers; > + for (consumer = uprobe->consumers; consumer; > + consumer = consumer->next) { that first expression seems redundant..