Message ID | 20160614230838.GA15130@yury-N73SV |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-return-70640-incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rTlhN15ZQz9t0y for <incoming@patchwork.ozlabs.org>; Wed, 15 Jun 2016 09:09:07 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=H3COP1+U; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=acbI 6AXeSY6W3SAqKqRCeygZ7C9FF7xIMqH0muxCHCQ6HdZDQLsZwes54YVDe5rj74Q0 3VI0S9g4aDzCwucHryRkLBPN2EGJtA7FKAOLLLF+JSyZgRjKP1A9bz0k7H7kM1ck Zq/Me4fpGd4BMHL8kA4/JZWi82THR21FYM1+N6U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=Dlmk7XhRq5 PBniVXwn4X9sZDA+4=; b=H3COP1+UaK1yWkjRzUQsRw51vcJpR3cmErCYUoAaMa hk+P2boWpfodJVRdKLE53esmursx+qpYSdmkC/9b/NyKXGA7Q/l6PQAtklCY/QiJ jP8qg6woCFjjoSr3Swg4K5/yXUJ8TqB/uYnvMTD0OdAFeZh8nyUsc29hshDTJjOJ w= Received: (qmail 64505 invoked by alias); 14 Jun 2016 23:09:01 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <libc-alpha.sourceware.org> List-Unsubscribe: <mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org> List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 64481 invoked by uid 89); 14 Jun 2016 23:08:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*r:157.56.111, H*MI:sk:2016052, svc, H*Ad:D*pl X-HELO: na01-bn1-obe.outbound.protection.outlook.com Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; Date: Wed, 15 Jun 2016 02:08:38 +0300 From: Yury Norov <ynorov@caviumnetworks.com> To: Catalin Marinas <catalin.marinas@arm.com> CC: David Miller <davem@davemloft.net>, <arnd@arndb.de>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-arch@vger.kernel.org>, <linux-s390@vger.kernel.org>, <libc-alpha@sourceware.org>, <schwidefsky@de.ibm.com>, <heiko.carstens@de.ibm.com>, <pinskia@gmail.com>, <broonie@kernel.org>, <joseph@codesourcery.com>, <christoph.muellner@theobroma-systems.com>, <bamvor.zhangjian@huawei.com>, <szabolcs.nagy@arm.com>, <klimov.linux@gmail.com>, <Nathan_Lynch@mentor.com>, <agraf@suse.de>, <Prasun.Kapoor@caviumnetworks.com>, <kilobyte@angband.pl>, <geert@linux-m68k.org>, <philipp.tomsich@theobroma-systems.com> Subject: Re: [PATCH 01/23] all: syscall wrappers: add documentation Message-ID: <20160614230838.GA15130@yury-N73SV> References: <6293194.tGy03QJ9ME@wuerfel> <20160525.135039.244098606649448826.davem@davemloft.net> <6407614.fdv5XFSBue@wuerfel> <20160525.142821.1719403997976778673.davem@davemloft.net> <20160526204819.GA10274@yury-N73SV> <20160526222943.GA16729@MBP.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20160526222943.GA16729@MBP.local> User-Agent: Mutt/1.5.24 (2015-08-30) X-ClientProxiedBy: BLUPR18CA0010.namprd18.prod.outlook.com (10.162.230.20) To SN1PR07MB2256.namprd07.prod.outlook.com (10.164.47.150) X-MS-Office365-Filtering-Correlation-Id: 435beb35-3417-4a87-ea1d-08d394a8d52c X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2256; 2:EmGvA1DkE+QNA56ZLDzzShsw8H25vh3cuURscpR+pam922OsTX2Ns/1EbgXGkRvq3mCeFWXzIVhaiOrOkRlYItY/r9DL/PxISM0H0YuxE2i/z6/4GJLXDfLRqRpJUf01oY2PCbIcCfpgoSsn/PPATlvS2PI8GDKnF5jCESZCGF07S36/rSmdlJxYDCOl+R5A; 3:K1EXsu6gs66cJfAAiFM8AjUoFtKA7aio1IHuIjKxBUyBOWp0UmCw+neUfu+GPtznKw3rdBGEX2csbBQLdyrmqdGm4Hs4Es+PUyTuAy5D7N3IrctSSIGlyxrxT2NrADfy X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR07MB2256; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2256; 25:IeF+5pEMJz1j3z35/vjP5A92W6Ba2Ub+irHq1n1YqihmONKX7WJJ6ucrxNVyZuEY1oZzyz+ehoEMmL9216UeX9NAo6A3mtBWIH1dBxMjI8nzFoYinn7GybmA5VWMe32OB9qthUeGGSAVpdvjfvAQyRlY7nAgFAkyJ33QeYqxs1p9NJIdaiMzVLTnVTpk2eVjuI7d5XpwSFk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qEfELWMj3KJy4jBaJj50g+8XKWVvDOmXK6bUUbCT0vYfRDpfUY7N1lCwGlTOGYltdd8qZBcxqB64bisgkxppKO5zL7BXe4DbGwBek+aYbDv+HroO5SjacRnZLnzjhBV1jJYhv00j/8KgojFcjbRb9BN/+UvHB42Y+S7MUO/VR693oajuDMCgRslpDZ4nL0rJ+oHNFFyAxcmmQEBeWaYnTKODGob85Beg3uTuV+/9KCAF9HtWQyqR3lcAg1ppzWf4DnPK7ivg= X-Microsoft-Antispam-PRVS: <SN1PR07MB2256B6071470F8C1E2154115EE540@SN1PR07MB2256.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(166708455590820); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:SN1PR07MB2256; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2256; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2256; 4:eUhR9H619bSAWTRgGqD3VdLA4P05UpUHn5a8zo1wK9PJ4tD0U7D3/rM6cX7IFNaXNAHXVMggbzUz0v5zxqG4NeNB5lxz0w/NqjiY1gp9yKMADBCpjF4UscANzJFX8niqo4Nm9cF2RZW/ElE1TqLXEBC+xR94g0VIJBlC33EOeWdJJFtNBk0TK81XSFxkFUSvU3078cOVtnLiTq+SnrOvuGXTnSRh9deav1Z8wF3TAmtP+PsaZmfPr5gFyttFjT4eKWPSGspC2wDqLD2TAwSKTQHG22GbyznabU+xw+BTivkQaVmuBkUEKxDmuIth4dhxH5D52FEwvGWvn63RrZjHQIly+/MGdciYjDzhSwsgPwzIhJ9kXPoFcAleq3v2tdjb5seg6ps0BWeBHqppmuy8Wb8xJVOBgcoMwnt92kSv/bA= X-Forefront-PRVS: 09730BD177 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(199003)(189002)(76506005)(47776003)(42186005)(4326007)(50466002)(66066001)(97756001)(2906002)(105586002)(586003)(106356001)(23726003)(3846002)(1076002)(6116002)(83506001)(9686002)(8676002)(5004730100002)(77096005)(76176999)(54356999)(19580395003)(2950100001)(189998001)(15975445007)(33656002)(93886004)(101416001)(5008740100001)(92566002)(81166006)(81156014)(33716001)(50986999)(97736004)(46406003)(110136002)(68736007)(4001350100001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2256; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; CAT:NONE; LANG:en; CAT:NONE; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2256; 23:ZTkQKJ7SyP1VOeVqSZAsFxnHgG2PWl7YIu+r66jRe?= =?us-ascii?Q?iD0TxiZXPZ9QyMGhfyhRKhXWPkZ/B8eM9RoxdP4pGpBq+oKabpqwgV5z2TqS?= =?us-ascii?Q?vy/ldXrL3iTZx9ml3FPS85oNdHs2kSJlTDLOl1A8D0VoRGkDTHJaK/gRxPoj?= =?us-ascii?Q?XFyQGuuV5WoZkfDNhbX60RK0cPW4+M8sKk9FH6E4HCVMzpXY1dMF2nEYjeQc?= =?us-ascii?Q?BcqwgX+BenYBT4fACX6yAmpPduqzdyFEy/FFosxV7626taJZPVHuezwJlEq8?= =?us-ascii?Q?Ifj4qeHuQ3KDhWdWWH11xCwkONhOxrJErlkm75KnI1TA2BqQXUYPKxkvTZa9?= =?us-ascii?Q?25izLG29lxF6YzHxuC3wcwYixRURti7rZOKKqjQsmL/24Uby41+6DQNTZKW0?= =?us-ascii?Q?yV/4z8nngYXLe5DNgmtdCyzc4QsekEXSlmVHCxy28NLbE81BE9PYWkBPTS5C?= =?us-ascii?Q?dqfwgZFoDI2yTcFwDRUEbF8OLINZ7dO8ypL+/BHBrknaMFz3PmLx/L/gwqi5?= =?us-ascii?Q?1fwF2QVjUSsH4rWkk0zPsqFRnDGpBt21dfxDpKgBU1Pw0YNtVv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5:NQAj0TNNUW/yoMiqDDtYsBrmeu7jB7161tvVkKLHvh0DnQMj70B2FE3K6h8VCD75Pmsd0X6eJgd55DJLqoG7edCLE0codWEHpuMG3/SjWvrEFYNjKa6wP+AYj4d14IM9xtDVMfvMAc2Yr5sNuoZn2A==; 24:Z9ShiJVbnGkwXVOcnsOOung76Imm2Ohl6KU+xlZR3XZmPYr/8o8JO/Z1IU0zBYxLKteNYqTRAHD6x/GD9rvNXtOJWpCTDT6gm4QWYlsJgEo=; 7:5VhhrG/ZpoeJyBYGXQXtY0HaQ+Uvr2n7ed1ydH/pknn2a/ApBPK8xq0l2xUx2JHClD6f6DJZy/xlUjlhmCQHljzE/hU3Fo0Gy0EoZlvwuDa1VV+kR+ZqAQtE8Ux9ymfS/yPiTC9Yx0vGJ4L6e+NG93f06yuARWFk0+RLIZSKj90Nfr5ncZqfTTzyjE9FFWjjSxGz5B4uWwtZmSo1cJcDSw== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2016 23:08:43.8857 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2256 |
diff --git a/kernel/sys.c b/kernel/sys.c index 89d5be4..003d5ad 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -1634,6 +1634,17 @@ COMPAT_SYSCALL_DEFINE2(getrusage, int, who, struct compat_rusage __user *, ru) { struct rusage r; + asm volatile ( + " mov w0, w0 \n" + " mov w1, w1 \n" + " mov w2, w2 \n" + " mov w3, w3 \n" + " mov w4, w4 \n" + " mov w5, w5 \n" + " mov w6, w6 \n" + " mov w7, w7 \n" + ); + if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN && who != RUSAGE_THREAD)