[parisc-linux] unreliable mmap
Randolph Chung <firstname.lastname@example.org>
Wed, 23 Oct 2002 16:15:36 -0700
> While debugging cyrus21-imapd, i experienced pretty fishy behaviour
> of the skiplist database backend. It turned out that the 715 is affected
> by the mmap problem, as well.
as are c3k, a500, etc....
no one has managed to really track this down yet. i can insert a dcache
flush into the kernel to 'fix' this, but it is not the right place to be
doing the flush.
my understanding of what's happening is that the open(2) and mmap()
creates two different "views" of the underlying page. when a write()
flushes the contents, only the open() view is flushd but not the mmap
unfortunately i don't know nearly enough about vm to be able to track
this down and fix it properly :(
Debian GNU/Linux Developer, hppa/ia64 ports