Date: Sun, 16 Aug 1998 11:00:40 +0300 (IDT) From: Eli Zaretskii To: Steve Carter cc: djgpp AT delorie DOT com Subject: Re: Page Boundaries In-Reply-To: <6r1a8p$c7o$4@pump1.york.ac.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 14 Aug 1998, Steve Carter wrote: > : That's something entirely different. Page-aligned in this context > : means aligned on the 4KB pages used by the PC paging and virtual > ^ > 64k, I think! No, x86 paging works with 4KB-long pages. > Thanks. I was wondering, but I don't think it's possible: How about > mallocing a 128K block, to guarantee getting a whole page in there > somewhere, then free()ing parts of that block that aren't used? I presume > this is not possible... You are right, this is impossible: you cannot free part of a block that you got from `malloc'. But with current machines which have several MBytes of memory, why should you care about wasting 64KB?