qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] another 64/32 mmap() bug
@ 2008-09-27 22:28 Vince Weaver
  2008-09-28 19:11 ` Vince Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Vince Weaver @ 2008-09-27 22:28 UTC (permalink / raw)
  To: qemu-devel


In trying to get the remaining spec2k/spec2k6 benchmarks to run, I've 
found another 64-bit/32-bit mmap() linux-user problem.

This could be a kernel problem.

The mmap() call in conjunction with MAP_32BIT will make sure the address 
of an allocation is < 32-bit.  The problem is it doesn't check that the
_entire address range_ is < 32-bit.

So it will return an address of say 0xffff0000 for an allocation of
128kB, and the end of that allocation will not be addressable, causing 
a segfault.

Vince

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

end of thread, other threads:[~2008-09-28 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-27 22:28 [Qemu-devel] another 64/32 mmap() bug Vince Weaver
2008-09-28 19:11 ` Vince Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).