mmap beyond file end (2.4.0-test1 with Reiserfs 3.6.6)

From: Bernd Paysan (bernd.paysan@gmx.de)
Date: Sun May 28 2000 - 14:03:22 EST


Hi!

The recent changes to file mapping (at least private, that's what I
tested) seemed to change the behaviour of file-mapping beyond EOF. All
other Unix-like OS I know (including, but not limited to earlier Linuxes)
fill pages beyond the file end with zeroes, Linux 2.4.0-test1 and the last
few prepatches before report an "Address alignment exception" when one is
accessing pages beyond file end. I tried to find a way to patch this
misbehavoir away, but didn't succeed.

This happens both on Reiserfs partitions as on ext2 partitions, so it
doesn't seem to be a bug in Reiserfs.

Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/

-
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/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:19 EST