From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 3 Sep 1998 10:23:10 -0400 From: jmk@plan9.bell-labs.com jmk@plan9.bell-labs.com Subject: [9fans] Find command Topicbox-Message-UUID: 7e93d39e-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19980903142310.vQwl_UZ9BX0i8_CJnoJ3doaHUPz7ZBXepAWxwbqVWQo@z> in plan9, TSTKSIZ on the x86 is rather small (10) and located awkwardly in the address space - you can't increase it without also moving the location of the user stack and there are some places this value is known (e.g. the alef runtime): #define USERADDR 0xC0000000 /* struct User */ #define TSTKTOP USERADDR /* end of new stack in sysexec */ #define TSTKSIZ 10 #define USTKTOP (TSTKTOP-TSTKSIZ*BY2PG) /* byte just beyond user stack */ although i don't remember all the details, in order to increase it a couple of years ago in brazil i moved things around a bit more: #define KZERO 0x80000000 /* base of kernel address space */ #define USTKTOP (KZERO-BY2PG) /* byte just beyond user stack */ #define TSTKTOP (USTKTOP-USTKSIZE) /* end of new stack in sysexec */ #define TSTKSIZ 100 this was fun as we were running a user-level ip implementation written in alef at the time. --jim ------ forwarded message follows ------ >>From cse.psu.edu!owner-9fans Thu Sep 3 03:42:27 EDT 1998 Received: from plan9.bell-labs.com ([135.104.9.2]) by plan9; Thu Sep 3 03:42:27 EDT 1998 Received: from cse.psu.edu ([130.203.3.50]) by plan9; Thu Sep 3 03:42:26 EDT 1998 Received: from localhost (majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) with SMTP id DAA10884; Thu, 3 Sep 1998 03:21:08 -0400 (EDT) Received: by claven.cse.psu.edu (bulk_mailer v1.5); Thu, 3 Sep 1998 03:21:01 -0400 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id DAA10853 for 9fans-outgoing; Thu, 3 Sep 1998 03:20:56 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from caldo.demon.co.uk (none@caldo.demon.co.uk [194.222.207.148]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id DAA10849 for <9fans@cse.psu.edu>; Thu, 3 Sep 1998 03:20:52 -0400 (EDT) From: forsyth@caldo.demon.co.uk Message-Id: <199809030720.DAA10849@cse.psu.edu> To: 9fans@cse.psu.edu Date: Thu, 3 Sep 1998 08:19:56 BST Subject: Re: [9fans] Find command Sender: owner-9fans@cse.psu.edu Reply-To: 9fans@cse.psu.edu Precedence: bulk >>The only limit on arglist size in plan 9 is >>total virtual memory available. it's limited to TSTKSIZ*BY2PG during the transfer between images, but it would be better to remove the restriction than to reinstate xargs.