From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938937AbcKWPcy (ORCPT ); Wed, 23 Nov 2016 10:32:54 -0500 Received: from smtprelay0016.hostedemail.com ([216.40.44.16]:44392 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935524AbcKWPcx (ORCPT ); Wed, 23 Nov 2016 10:32:53 -0500 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::::,RULES_HIT:41:355:379:421:541:599:800:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:1981:2194:2199:2393:2553:2559:2562:2693:2898:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:5007:6120:6261:7875:8660:10004:10400:10450:10455:10848:10967:11232:11658:11914:12663:12740:12760:13069:13148:13149:13161:13229:13230:13311:13357:13439:13618:14096:14097:14181:14659:14721:19904:19999:21080:21212:30012:30054:30064:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:4,LUA_SUMMARY:none X-HE-Tag: shoe58_b119a7a8343b X-Filterd-Recvd-Size: 2208 Date: Wed, 23 Nov 2016 10:31:14 -0500 From: Steven Rostedt To: alexander.levin@verizon.com Cc: "dvyukov@google.com" , "tglx@linutronix.de" , "scientist@fb.com" , "glider@google.com" , "andreyknvl@google.com" , "arnd@arndb.de" , "mathieu.desnoyers@efficios.com" , "daniel.vetter@ffwll.ch" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC 1/3] abi_spec: basic definitions of constraints, args and syscalls Message-ID: <20161123103114.2d412a67@gandalf.local.home> In-Reply-To: <20161123150330.GE3218@sasha-lappy> References: <1479317803-17220-1-git-send-email-alexander.levin@verizon.com> <1479317803-17220-2-git-send-email-alexander.levin@verizon.com> <20161121104102.2b244311@gandalf.local.home> <20161123150330.GE3218@sasha-lappy> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Nov 2016 15:03:23 +0000 alexander.levin@verizon.com wrote: > It's really just made up, but I wanted it to be higher than 6 because: > > - The "6" limit is only per-arch, so there might be something that wants > more than 6 args? > - This should also work for ioctls in the future. The generic code all has a max of 6. Look at the macros for the system calls. All they define up to is SYSCALL_DEFINE6(). If any arch creates a syscall with 7 or more args, that will be a world of pain. I say we simply don't support it. Also, that arch would require keeping that system call totally within the arch itself, and wont be able to call into generic code. I'm working to clean up the system call tracepoints, and they currently (and will continue to) have a hard max upper limit of 6 arguments. -- Steve