*BSD News Article 45602


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!newsxfer.itd.umich.edu!gumby!newspump.wustl.edu!ecl.wustl.edu!siesta.cs.wustl.edu!not-for-mail
From: amc@siesta.cs.wustl.edu (Adam M. Costello)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: sizeof (struct proc) == 256.  Why?
Date: 13 Jun 1995 17:38:22 -0000
Organization: Washington University, St. Louis MO
Lines: 9
Message-ID: <3rkiee$o5i@siesta.cs.wustl.edu>
NNTP-Posting-Host: siesta.cs.wustl.edu

In NetBSD, sizeof (struct proc) == 256.  There is even a p_spare member
whose only purpose is to pad the structure up to 256 bytes.  What is the
reason for this?

(I'm hacking the kernel, and might want to add a few members, but I
don't want to screw anything up.)

Thanks,
AMC