Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752563AbcDVVlA (ORCPT ); Fri, 22 Apr 2016 17:41:00 -0400 Received: from mail-bn1on0072.outbound.protection.outlook.com ([157.56.110.72]:55008 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751845AbcDVVk4 (ORCPT ); Fri, 22 Apr 2016 17:40:56 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Sat, 23 Apr 2016 00:40:13 +0300 From: Yury Norov To: Catalin Marinas CC: , , , , , , , , , , , , , , , , , Subject: Re: [PATCH 19/25] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32 Message-ID: <20160422214013.GA2234@yury-N73SV> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> <1459894127-17698-20-git-send-email-ynorov@caviumnetworks.com> <20160422171009.GR2998@e104818-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160422171009.GR2998@e104818-lin.cambridge.arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: HE1PR01CA0024.eurprd01.prod.exchangelabs.com (10.163.2.162) To BLUPR07MB609.namprd07.prod.outlook.com (10.141.207.12) X-MS-Office365-Filtering-Correlation-Id: 5a85da4f-f2fc-4f47-9074-08d36af6c6c4 X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;2:Tpnw1bLfoj0PenzJLP3CMcd7/IBsf+3QQSOlEGoeSfvxu+SUsB31kBWIAH5yvA9bbWi+rjxsJFsBTEkeFod3L/YeYVcyBGRqbpIvLoNLRFQAzlRkr4OiQANnbMCGqLE5+4kzKzYyPKTW6yUhchpZtKmhn6Z+3QgKacWOxQPgCocIzRWZQfzUH2v8LgvPCDxr;3:Lli+ePWXXQuZwLUnqY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vxnbK7xp/HnBXvt2pOsYtlOWmZRmANsOzxtiLPYMp04EMpr30E9fqvCmmOcVaI0ciSL9VGqeKa1XE9zZFpfuFxbgJ2WNy5vohfFudLi/rv2GKHHOHtoLD6DlrMIPv+cAmMOb0+915erH98ACxF2RTB1tvEdknWtWYxkqdp+KW2WzZg2JMG5/IZ5awyyLoSMtC/lRCSeAdZUFO1TYEnemhcdTvLtmNF/uxC1gK67or2GXv2E6sCoLyBGDnQpGrIS7rHva6MnZYUuQGhcvflnW7t+TDSccvvtyTFz7cnwg5oQdXVk8dpPczlu77NkJvGUAiw7+RzXemrsMszUoem280uYmYJla0GC6ReDGadP6YP2ho2N77jMAzpeYaoBMRci+vHv0F+JrRogDupjMMjLoahPKp6gBFOnUFRkWmQMq82sc4XOheA+Iy9pgoyEH1ZSRK0Ihq1cHalbtsls0lB1elA2Ae/77PfDmI0xjrid8nIOO0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(9101521026)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:BLUPR07MB609;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB609; X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;4:n3T1Y6mzyuTouIZ9rOqxTgnZ+90OIPGPJ+D1229GUbzhusEl4m1AF7ZjAVq3FhBieU3h9P0wKUoTKZCSG+IKURDqNucTk6aTzXf6b6UkDLm8F9/52ezjb6oKbx59ocawHfgbygybo8PXNX1ghnCxtMpXwKEdo8cda41JHl+c4cFrSU1EUQVzSVKwM2iAuNRf2P2pVBtCsN3ibB+WOmKJD9rZWPg3bYb9/1EDtN6UiWXvcg/LOcBZPDYhnI1yUXQZd4mjRCIF8e28bwAaroGkX+QLlIvc4IVETAIdslyH84w1/XK8z884HiqGjVd1DCZzyiT97ht3rZhHL63rBXDyt0kb+SEaTCZweYJUsnPOPEMkFM79xfwQNQRikJ8Fx/u6C9+HgWvqgfsAjOXWy9UGEQ== X-Forefront-PRVS: 0920602B08 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6069001)(6009001)(24454002)(92566002)(9686002)(77096005)(2950100001)(33716001)(46406003)(97756001)(4001350100001)(76176999)(54356999)(50986999)(1096002)(3846002)(50466002)(6116002)(110136002)(66066001)(5004730100002)(33656002)(1076002)(189998001)(47776003)(4326007)(2906002)(586003)(81166005)(23726003)(5008740100001)(42186005)(76506005);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR07MB609;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;23:47gtvA31NU8XrkytiWmXcCkmsoKnwhhJTRLTwlTH7zSQdxGiV77WSkmSN+iJG7qVQhrcagjUQ3rfXUsOZWyYXyOIVa3BUxjHh7NfnBHM5HRNCiiH0YcBmTyn+scUkts+UXk2JMOk6wTHoczd3OdeoG7XjTgUa12FSlT1iBJrC6iDR7Q6Eq2VtS9aX9Ufa0hR5OLC8Wvvkolpi89ZgEsA/EFHFqOS0W7UBTufzXhlydacRQXrUOXLp3gdOgD573RVsnnSbFV7KwCshoirhQE1sOMgJNGwFL6PyQVvbSwH8PQtHIdW+MjakULN/ck4ARM1JLHZ2m5zqRCkVqVySqHOJ73ooQEoXhgSwfO3HjUdMlt+xIo52mUYrbk+yc88EusEMZTudyoiI2pRvm4nnTRT7K01E8x6JEV3ni6+kLXlAXB4IJLu5HorNRtHp2STUbRWcJHoI1rKkQxCimNlfuLW1z7gO1EnOLibaeIINlZbnSbtOsoMwINkMBlCNw/V9OfHxvAobr3IZ+EqODXJ8jS6xY5+yH+N6KXF7KdcYge8+pe6vTWG92qPyDobOB/XcliIjcM89ZxOHPyNuvAMn9/z38oVWVf/HeDUUKQEpPvMVqgc1Qul1S7nwk6D/2Rt3N858utbGgh/AitZGWAOwKWcdfjtHlqiddOOtr7Jr4+DDWBL87S/KJ0cZvB9+jg9dfcguDFt0eGnnOU3WcfvWnrLFLGyHFsnpnItlfgZk4UMPN9eo5qiGHLQkSUvUKHBFNMoIGB1S7c3MyWJsbzCtk8QvdBsnlqs6rvmnRho8otmpW2ECW4wenrltL7kJWezhNWvqQwCeTBxii/dgt+yqPtgg6YYU5nqUi99Zoz/lzdsyj3xp44tfhppv/0eklH+XNJQ+dgAXNjNZIQCsKVJdl8Gw7gbvyDOnUngii3pkQzjEiI= X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;5:Od5S/3xzq0mt7rUuyJxXRy51AmXT4HDRtXKDq9ufQ9+Uoo56xaU4L6x6/dZrMv1gP9aoBYFCCTo5/qer/Qnh25ny82ULQE6fpJsrEnZK04lji29V5/NmEub1BRn9FZ9B5ZAUTXbKaM+xqqNy6uauAycGvTQD38MuhxCjaLmrT5vZNL37iNJXYdeDaCPGv8lm;24:6Z2VuBi8LbIu0IIlis1zBvAxvQUl35JczmOvtixBwSejGKPGf+g+2axkFG/RVzyF3oXBjPl91LcyhnyFu2IVrFlcQ98s+QzEY0prVydx9jo=;7:rcPUAL2tRz5xLQFMI5UPJefYgzGj6d5/uHtkO2ZMOhauuHfIdJcDYYq8X8jHfEBaTV2lWc/kdZ53ksSdP7DlPbKl0b/CQpe4yTnenkuV4WaDgJt+tKCPvIkqwZbQhl+W6yZQGwDD2PmAwVWt0B7JS9T/tYMTwUb5Mj1oyiLgR07mqd9tuhxnaGVJT80EvzBr1VsiFsvQmJeYP5impQe2Zo4Zy7/gtHKBUO3ik2vhk0o= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2016 21:40:51.4891 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB609 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 564 Lines: 20 On Fri, Apr 22, 2016 at 06:10:09PM +0100, Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:41AM +0300, Yury Norov wrote: > > Here new aarch32 ptrace syscall handler is introsuced to avoid run-time > > detection of the task type. > > The reason for this patch isn't clear to me. What's wrong with the > run-time detection? It's not some performance critical code. > > -- > Catalin Hi Catalin, It was requested by Arnd, It's not 'new' syscall basically, just an attempt to avoid run-time detection of things that may be detected an compile-time. Yury.