From: Andrea Gelmini <gelma@gelma.net>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: VM: Fix nasty and subtle race in shared mmap'ed page writeback
Date: Wed, 10 Jan 2007 14:54:53 +0100 [thread overview]
Message-ID: <20070110135453.GH7947@gelma.net> (raw)
In-Reply-To: <459DE3C6.20302@yahoo.com.au>
On Fri, Jan 05, 2007 at 04:36:06PM +1100, Nick Piggin wrote:
> I was thinking like a 100 line C program that I can reproduce here ;)
not soon, but I'll try to produce it.
> If you can even describe the steps it does: (eg. mmap file A, write(2) to
> it, truncate it, ...., should contain 1s but it contains 0s!), then we
> might have some suggestions to try.
I ignore this... I mean, BerkelyDB does all this on its own (we just
talk with the library). we never touch directly the DB.
> One obvious thing is change filesystems or filesystem block sizes, try
> ext2 or even tmpfs. Another is to try using write(2) instead of mmap to
> write data.
well, I tried all filesystems, tmpfs also. I know BDB use a lot mmap.
thanks,
gelma
next prev parent reply other threads:[~2007-01-10 13:55 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200612291859.kBTIx2kq031961@hera.kernel.org>
2006-12-29 22:43 ` VM: Fix nasty and subtle race in shared mmap'ed page writeback Andrea Gelmini
2006-12-31 3:55 ` Nick Piggin
2006-12-31 13:50 ` Andrea Gelmini
2007-01-04 3:57 ` Nick Piggin
2007-01-04 4:44 ` Linus Torvalds
2007-01-04 5:07 ` Nick Piggin
2007-01-04 13:17 ` Andrea Gelmini
2007-01-04 5:41 ` Andrew Morton
2007-01-04 6:03 ` Nick Piggin
2007-01-04 6:12 ` Andrew Morton
2007-01-04 6:56 ` David Miller
2007-01-04 7:06 ` Andrew Morton
2007-01-04 7:16 ` Nick Piggin
2007-01-04 13:25 ` Hugh Dickins
2007-01-08 7:46 ` dean gaudet
2007-01-04 13:08 ` Andrea Gelmini
2007-01-04 13:16 ` Andrea Gelmini
2007-01-05 5:36 ` Nick Piggin
2007-01-10 13:54 ` Andrea Gelmini [this message]
[not found] ` <1168507298.26496.18.camel@twins>
[not found] ` <20070112003955.GH4553@gelma.net>
[not found] ` <1169457039.2639.17.camel@taijtu>
2007-01-29 14:08 ` Andrea Gelmini
2007-01-29 14:11 ` Peter Zijlstra
2007-01-29 15:12 ` Andrea Arcangeli
2007-01-05 19:12 ` Christoph Lameter
2007-01-05 19:33 ` Linus Torvalds
2007-01-05 20:02 ` Christoph Lameter
2007-01-05 21:34 ` Linus Torvalds
2007-01-04 13:19 ` Andrea Gelmini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070110135453.GH7947@gelma.net \
--to=gelma@gelma.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox