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

From: Ying Han
Date: Thu Mar 19 2009 - 17:18:19 EST


On Thu, Mar 19, 2009 at 1:21 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> 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
>
>  - SMP? (CONFIG_SMP and how many cores do you have if so?)
"CONFIG_SMP=y"
the testing machine i was using has 16 cores.

>
>  - PREEMPT (NONE/VOLUNTARY or full preempt?)
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_BKL=y

>
>  - RCU (CLASSIC/TREE/PREEMPT?)
Not in my .config file.
>
> 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/