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

From: Linus Torvalds
Date: Thu Mar 19 2009 - 16:27:53 EST




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

- SMP? (CONFIG_SMP and how many cores do you have if so?)

- PREEMPT (NONE/VOLUNTARY or full preempt?)

- RCU (CLASSIC/TREE/PREEMPT?)

since those affect the kinds of races we can see a lot.

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