So the kernel does basically have support for unaligned file mappings,
but it is (or should be) disallowed by sys_mmap()?
Long ago I recall this was what stopped Wine from demand paging huge
windows binaries (typically with hundreds of libraries), and generally
makes Wine very slow to start, as well as using tons of memory. For one
application I used under Wine, about 100MB of libraries had to be read
in.
Windows binaries do not, in general, use page aligned mappings. It
would be very nice IMO if it were possible to do shared unaligned
mappings for Wine.
Another happy thought from...
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/