Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756423AbXFTWlv (ORCPT ); Wed, 20 Jun 2007 18:41:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751611AbXFTWln (ORCPT ); Wed, 20 Jun 2007 18:41:43 -0400 Received: from nz-out-0506.google.com ([64.233.162.226]:43326 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751121AbXFTWlm (ORCPT ); Wed, 20 Jun 2007 18:41:42 -0400 Message-ID: <5640c7e00706201541g3ecaf8c5i524d8b464d8fcc2d@mail.gmail.com> Date: Thu, 21 Jun 2007 10:41:41 +1200 From: "Ian McDonald" To: "Linus Torvalds" Subject: Re: [1/2] 2.6.22-rc5: known regressions with patches Cc: "Andrew Morton" , LKML , "Miklos Szeredi" , "Ingo Molnar" , "Darrick J. Wong" , "Andi Kleen" , "Bj?rn Steinbrink" , "William Cohen" , "S. P. Prasanna" , "Antonino Daplas" , "Olaf Hering" , "Ville Syrj?l?" , "Jean Delvare" , "Rudolf Marek" , "Soeren Sonnenburg" , "Michal Piotrowski" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <467543FA.60905@googlemail.com> <5640c7e00706201508g3c1fc40eq82a1db05c9156b5d@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1227 Lines: 32 On 6/21/07, Linus Torvalds wrote: > Well, for 2.6.22, Kprobes will just be disabled if you use DEBUG_RODATA. > > And yes, that patch already got merged. However, the patch to *allow* > Kprobes with DEBUG_RODATA is not, and will not be. It's not a regression, > and quite frankly, I don't think I would even want that patch. > > Kprobes fundamntally disagrees with DEBUG_RODATA, there's no point in > "working around it". Better just admit it. > > Linus > It depends on the purpose of DEBUG_RODATA. If DEBUG_RODATA was for security reasons then I agree, but it seems to be more to catch accidental writes. Kprobes isn't an accidental write and I would suspect many developers would want to catch accidental writes and be able to insert kprobes. Or is there something else I'm missing - i.e. you're saying the patch itself is crap? Ian -- Web: http://wand.net.nz/~iam4/ Blog: http://iansblog.jandi.co.nz WAND Network Research Group - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/