Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c,net.unix.wizards Subject: Re: Packed Structures? Message-ID: <3229@utzoo.UUCP> Date: Tue, 4-Oct-83 18:57:41 EDT Article-I.D.: utzoo.3229 Posted: Tue Oct 4 18:57:41 1983 Date-Received: Tue, 4-Oct-83 18:57:41 EDT References: <274@sequel.UUCP> Organization: U of Toronto Zoology Lines: 10 Actually, all holes *don't* necessarily go away if you were to declare something "packed" to a 16032 compiler that understood the notion. The 16032 cannot guarantee to do copy-on-write memory management properly unless things are aligned. (The problem is that an unaligned data item which crosses a page boundary from a read-write page to a read-only page may get its first part stomped before the MMU realizes that the second part is not writeable.) -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry