[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    mmap beyond file end (2.4.0-test1 with Reiserfs 3.6.6)
From:       Bernd Paysan <bernd.paysan () gmx ! de>
Date:       2000-05-28 19:03:22
[Download RAW message or body]

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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic