linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Why ?
@ 2000-03-27  8:06 pnilesh
  2000-03-27 10:46 ` Stephen C. Tweedie
  2000-03-27 16:59 ` Benjamin C.R. LaHaise
  0 siblings, 2 replies; 3+ messages in thread
From: pnilesh @ 2000-03-27  8:06 UTC (permalink / raw)
  To: linux-mm

Why the first 0x0 - 0x07ffffff   virtual addresses are not used by any
process ?
Is that used by the kernel and if yes for what ?

Nilesh Patel


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why ?
  2000-03-27  8:06 Why ? pnilesh
@ 2000-03-27 10:46 ` Stephen C. Tweedie
  2000-03-27 16:59 ` Benjamin C.R. LaHaise
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen C. Tweedie @ 2000-03-27 10:46 UTC (permalink / raw)
  To: pnilesh; +Cc: linux-mm, Stephen Tweedie

Hi,

On Mon, Mar 27, 2000 at 01:36:19PM +0530, pnilesh@in.ibm.com wrote:
> Why the first 0x0 - 0x07ffffff   virtual addresses are not used by any
> process ?
> Is that used by the kernel and if yes for what ?

No, the entire 3GB user virtual address space is usable by user space.
It's the compiler/linker toolset which requests that ELF binaries be
loaded at 0x08000000.  As for a reason, the only one I'm aware of is
that that's what the ELF standard says. :-)  It does offer a solid
protection against dereferencing uninitialised pointers, though.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why ?
  2000-03-27  8:06 Why ? pnilesh
  2000-03-27 10:46 ` Stephen C. Tweedie
@ 2000-03-27 16:59 ` Benjamin C.R. LaHaise
  1 sibling, 0 replies; 3+ messages in thread
From: Benjamin C.R. LaHaise @ 2000-03-27 16:59 UTC (permalink / raw)
  To: pnilesh; +Cc: linux-mm

On Mon, 27 Mar 2000 pnilesh@in.ibm.com wrote:

> Why the first 0x0 - 0x07ffffff   virtual addresses are not used by any
> process ?

I think it's to help catch NULL pointer dereferences.

> Is that used by the kernel and if yes for what ?

Other than the aforementioned reason, no.

		-ben

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-03-27 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-27  8:06 Why ? pnilesh
2000-03-27 10:46 ` Stephen C. Tweedie
2000-03-27 16:59 ` Benjamin C.R. LaHaise

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox