Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756221Ab0BDCFS (ORCPT ); Wed, 3 Feb 2010 21:05:18 -0500 Received: from mga14.intel.com ([143.182.124.37]:12100 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755006Ab0BDCFO convert rfc822-to-8bit (ORCPT ); Wed, 3 Feb 2010 21:05:14 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.49,402,1262592000"; d="scan'208";a="240237808" From: "Lu, Hongjiu" To: Roland McGrath CC: "Siddha, Suresh B" , Oleg Nesterov , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , LKML , "Lachner, Peter" Date: Wed, 3 Feb 2010 18:05:11 -0800 Subject: RE: [patch] x86: ptrace and core-dump extensions for xstate Thread-Topic: [patch] x86: ptrace and core-dump extensions for xstate Thread-Index: AcqlPiLUZH2xsqwMR9ezc7006eRRjAAAEdNA Message-ID: <8EA2C2C4116BF44AB370468FBF85A7770123AAB2E8@orsmsx504.amr.corp.intel.com> References: <1265076025.2802.194.camel@sbs-t61.sc.intel.com> <20100203230817.E6529AA@magilla.sf.frob.com> <8EA2C2C4116BF44AB370468FBF85A7770123AAB0AE@orsmsx504.amr.corp.intel.com> <20100204020224.45379725@magilla.sf.frob.com> In-Reply-To: <20100204020224.45379725@magilla.sf.frob.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 18 > > > Gdb calls cpuid during startup time to find out the actual xstate_size > > on the target machine. It has to be reliable. There is no need for > > another ptrace option. But we should document it clearly in ABI. > > As I said, I think that is an extremely poor API choice. There is no such > arcane requirement in the API now, so we do not have add one. > That is how processor works. H.J. -- 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/