Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932796Ab0AFVPq (ORCPT ); Wed, 6 Jan 2010 16:15:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932388Ab0AFVPo (ORCPT ); Wed, 6 Jan 2010 16:15:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58731 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932343Ab0AFVPo (ORCPT ); Wed, 6 Jan 2010 16:15:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Martin Schwidefsky X-Fcc: ~/Mail/linus Cc: Oleg Nesterov , caiqian@redhat.com, Heiko Carstens , Jan Kratochvil , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, utrace-devel@redhat.com Subject: Re: s390 && user_enable_single_step() (Was: odd utrace testing results on s390x) In-Reply-To: Martin Schwidefsky's message of Tuesday, 5 January 2010 10:26:06 +0100 <20100105102606.4f223990@mschwide.boeblingen.de.ibm.com> References: <1503844142.2061111261478093776.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> <1257887498.2061171261478252049.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> <20100104155225.GA16650@redhat.com> <20100104171626.22ea2d9c@mschwide.boeblingen.de.ibm.com> <20100104181412.GA21146@redhat.com> <20100105102606.4f223990@mschwide.boeblingen.de.ibm.com> X-Zippy-Says: I need "RONDO". Message-Id: <20100106211536.0F6AC134D@magilla.sf.frob.com> Date: Wed, 6 Jan 2010 13:15:36 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 20 > > then the test-case from 6580807da14c423f0d0a708108e6df6ebc8bc83d > > fails. This probably means that copy_process()->user_disable_single_step() > > is not enough to clear the "this task wants single-stepping" copied > > from parent. > > user_disable_single_step() does not remove the TIF_SINGLE_STEP bit from the > forked task. Perhaps we should just clear the bit in the function. If that were to fix this test case, I think it would be incidental rather than meaning the right thing. The "this task wants single-stepping" state should not have anything to do with TIF_SINGLE_STEP. It means "this task recently had single-stepping", which is a separate moving part. Thanks, Roland -- 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/