Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1937585imm; Sat, 4 Aug 2018 14:34:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf5ksyRy5SpIzdTFgIExHt/W2up4Rb0pPdPnXLGLAa+YFlYzfXO9+A9NkvYLMktWaoUyN0G X-Received: by 2002:a63:a919:: with SMTP id u25-v6mr9134794pge.211.1533418485878; Sat, 04 Aug 2018 14:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533418485; cv=none; d=google.com; s=arc-20160816; b=hHME2+BZf06VSDr3YTNhq4aYplsXMHaIfSoMWVAbA0PzTfefm9Aoem1A9+aUhTQdAJ WUQqIjvyg6zvWizYmmfbaTp0YUJPkdzQpn1OCWmsgTGRy/kFE/i9CjGV0lFE+Ar/nN/J hbDb5MvEYO5LI116E8rs9BqUnzsOabZMY0oT04zkV6mx9IDA6BuBAIspfrPbVC4WZ8im uD2uVJsVXDBDGyKMGkx5H67uD5zzIAlc5hZhuwCG4Bz1zN7Q+kqIWn+yUq0Rb2mzyXP9 kRnEOpv4jQlHGw3XjSVdKvYsiG2AwxfsSPB9F1hzcUJtIdGmVZu/v5H7EkeoEHIJat7Z KEpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=xPCqS82vyo9KgICvqdI8/o0F2k59DC4grGGNzo5polA=; b=B484u8JFheLVrQkYI0aF5yXUsEvISvsqA0+3fSRulEqOFpwY+0Ox1CySDOMQfRIoCI 5rLOHVd2tQr70o61nTbtN2tU/R0KjWEp+YWpNr6VX0JlFIY2sKwaJbmdzq/OtnT7bjbV xS2oBDXxz3mrK4qU39qJ1sHMy5L4jg/1Z5gmvTqKoo0Gv1xDUx61xFCgBDcbDuZnhJVY kIWmvRn3qESlRaaGO7M1Tg/G0JhIxnLdmSQs/HimgMUHwMgBCaL/ikElAdXAgBTvtXxh Q4js6xrBz2bN+BY27TIkMuQ4+d7sdc+YWFE1QH7Rri75QdjrBvsiBSr8ZKbZgZcmOMXm D9rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e34-v6si6806964plb.2.2018.08.04.14.34.30; Sat, 04 Aug 2018 14:34:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729695AbeHDXfm (ORCPT + 99 others); Sat, 4 Aug 2018 19:35:42 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:38796 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728883AbeHDXfm (ORCPT ); Sat, 4 Aug 2018 19:35:42 -0400 Received: from sf (trofi-1-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0f::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: slyfox) by smtp.gentoo.org (Postfix) with ESMTPSA id 80E47335CC8; Sat, 4 Aug 2018 21:33:39 +0000 (UTC) Date: Sat, 4 Aug 2018 22:33:36 +0100 From: Sergei Trofimovich To: Tony Luck Cc: Fenghua Yu , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2, simpler] ia64: fix ptrace(PTRACE_GETREGS) (unbreaks strace, gdb) Message-ID: <20180804223336.5f29778e@sf> In-Reply-To: <20180309231555.16925-1-slyfox@gentoo.org> References: <20180211185134.76ccfd45@sf> <20180309231555.16925-1-slyfox@gentoo.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Mar 2018 23:15:55 +0000 Sergei Trofimovich wrote: I tried to explain in more detail breakage mechanics of unwinder and gcc code generation quirks at: https://trofi.github.io/posts/210-ptrace-and-accidental-boot-fix-on-ia64.html Hopefully it gives better intuition of code change caused by both proposed patches. I personally think v1 patch is slightly more robust. -- Sergei