Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!mhuxl!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sri-unix!dbj@RICE.ARPA From: dbj@RICE.ARPA Newsgroups: net.unix-wizards Subject: Re: How do I calculate UPAGES? Message-ID: <12950@sri-arpa.UUCP> Date: Tue, 4-Sep-84 02:46:39 EDT Article-I.D.: sri-arpa.12950 Posted: Tue Sep 4 02:46:39 1984 Date-Received: Sat, 1-Sep-84 08:34:11 EDT Lines: 14 From: Dave Johnson UPAGES is the sizeof a struct user plus whatever amount of space you want or need to have available for the kernel stack. UPAGES is in units of NBPG bytes, which is defined to be 512 under both 4.2 and 4.1. Under 4.2, the user structure is 1904 bytes long, and UPAGES is defined to be 8. Back under 4.1, the user structure was only 1172 bytes long, but UPAGES was also defined to be 8 so there was more kernel stack space available under 4.1 than 4.2. Interesting... Dave Johnson Dept. of Computer Science Rice University dbj@rice.ARPA