12-17-04 12:45 AM
On Tue, 14 Dec 2004, qazmlp wrote:
> Will the size of the memory allocated within various(code,data,stack &
> heap) segments for a process, be always multiple of 'page' size?
Yes; a page is the smallest unit of memory managed by the kernel. (A bit
of a simplification, I know.)
Well, let me expand on that a bit: the segment size will be a multiple
of the page size, but those segments may contain multiple lumps that
are not any integer multiple of the page size.
--
Rich Teer, SCNA, SCSA, author of "Solaris Systems Programming"
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
[ Post a follow-up to this message ]
|