From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759333AbZDWTkq (ORCPT ); Thu, 23 Apr 2009 15:40:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755275AbZDWTjn (ORCPT ); Thu, 23 Apr 2009 15:39:43 -0400 Received: from mx2.redhat.com ([66.187.237.31]:46691 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756401AbZDWTjl (ORCPT ); Thu, 23 Apr 2009 15:39:41 -0400 Date: Thu, 23 Apr 2009 21:31:53 +0200 From: Oleg Nesterov To: Andrew Morton , Roland McGrath Cc: Chris Zankel , David Howells , Geert Uytterhoeven , Greg Ungerer , Haavard Skinnemoen , Helge Deller , Hirokazu Takata , Jeff Dike , Kyle McMartin , Martin Schwidefsky , Mike Frysinger , Paul Mundt , Roman Zippel , Yoshinori Sato , linux-kernel@vger.kernel.org Subject: [PATCH 0/4] ptrace: remove PT_DTRACE from arch/* except arch/um Message-ID: <20090423193153.GA14869@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 As Roland pointed out, PT_DTRACE is not actually used except in uml and should die. Remove it from h8300, avr32, mn10300, parisc, s390, sh, xtensa, m68k, m68knommu, m32r. The patches are rather simple (but untested), I tried to split the changes by "category". With this series arch/um is the only one who uses PT_DTRACE and thinks task_lock() is needed for ptrace related code. This will be addressed later (tanks Jeff for your reply). Oleg.