Wine.
Mapping windows binaries in a Linux address space.
Portability is a non-issue: this would only work on a 386, and only on
Linux anyway (MAYBE on other architectures Wine supports, but that's their
problem).
Windows binaries are _not_ nicely aligned like the Linux ones. They are
often 512-byte aligned.
Yes, we can read them in. That is slow as hell, and doesn't allow sharing.
Bad.
> Well, currectly supporting non-aligned mappings needs more than just a
> few extra bits. The code to update all mappings on write, and the
> ability to ensure that a given byte is only faulted in for a single
> offset at a time. (Admittedly if everything is a read mapping you
> can be a smidge more lax).
We would not guarantee write coherency for anything but the page-aligned
case.
Linus
-
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/