This enables the character-reading state machine to run with a very
fast inner loop, but I don't know if mapping beyond the end of the
file -- perhaps even into a new page -- is valid.
Under Linux it is allowed, and always has been allowed. When you run
off the end, you get zero filled pages.
Some OS's like Solaris etc. send you a segfault when you do this.
Later,
David S. Miller
davem@dm.cobaltmicro.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu