From mboxrd@z Thu Jan 1 00:00:00 1970 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Subject: RE: [PATCH] Only process_die notifier in ia64_do_page_fault if KPROBES is configured. Date: Tue, 30 Aug 2005 16:05:04 -0700 Message-ID: From: "Luck, Tony" Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter , Rusty Lynch Cc: Andi Kleen , "Lynch, Rusty" , linux-mm@kvack.org, prasanna@in.ibm.com, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, "Keshavamurthy, Anil S" List-ID: >Please do not generate any code if the feature cannot ever be >used (CONFIG_KPROBES off). With this patch we still have lots of >unnecessary code being executed on each page fault. I can (eventually) wrap this call inside the #ifdef CONFIG_KPROBES. But I'd like to keep following leads on making the overhead as low as possible for those people that do have KPROBES configured (which may be most people if OS distributors ship kernels with this enabled). -Tony -- 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/ . Don't email: email@kvack.org