Re: ftruncate-mmap: pages are lost after writing to mmaped file.

From: Jan Kara
Date: Thu Mar 19 2009 - 18:16:45 EST


On Thu 19-03-09 13:21:28, Linus Torvalds wrote:
>
>
> On Thu, 19 Mar 2009, Linus Torvalds wrote:
> >
> > Ahh, so you re-created it? On ext2 only, or is it visible on ext3 as well?
> > I've not even tested - I assumed that I would have to boot into less
> > memory and downgrade my filesystem to ext2, which made me hope somebody
> > else would pick it up first ;)
>
> Oh, btw, can people who see this (Ying Han, Nick and apparently Jan)
> detail their configurations, please? In particular
I'm able to see it only under UML. I've tried to reproduce under normal
machine but without luck. My system is single CPU Athlon64.

> - SMP? (CONFIG_SMP and how many cores do you have if so?)
>
> - PREEMPT (NONE/VOLUNTARY or full preempt?)
Above two don't exist in UML, but I assume UML behaves basically like full
preempt SMP...

> - RCU (CLASSIC/TREE/PREEMPT?)
RCU is CLASSIC.

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/