From: Andrea Arcangeli <andrea@suse.de>
To: Andrew Morton <andrewm@uow.edu.au>
Cc: Chris Wedgwood <cw@f00f.org>,
Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: msync() bug
Date: Tue, 10 Jul 2001 16:15:33 +0200 [thread overview]
Message-ID: <20010710161533.T1594@athlon.random> (raw)
In-Reply-To: <20010709170835.J1594@athlon.random> <20010711012524.A31799@weta.f00f.org> <3B4B0B1F.92EC5C0E@uow.edu.au>
In-Reply-To: <3B4B0B1F.92EC5C0E@uow.edu.au>; from andrewm@uow.edu.au on Wed, Jul 11, 2001 at 12:03:11AM +1000
On Wed, Jul 11, 2001 at 12:03:11AM +1000, Andrew Morton wrote:
> Linus included the test for non-null page->mapping
> as well. I wonder why.
I think it is because if you try hard you can map a dma page via
/dev/mem and then the driver can release the dma page (at rmmod for
example) before you munmap /dev/mem, and then the page goes in the
freelist and it is allocated as pagecache.
Andrea
prev parent reply other threads:[~2001-07-10 14:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-09 8:50 msync() bug Abraham vd Merwe
2001-07-09 12:32 ` Andrew Morton
2001-07-09 14:21 ` Andrea Arcangeli
2001-07-09 14:43 ` Andrew Morton
2001-07-09 15:08 ` Andrea Arcangeli
2001-07-09 17:37 ` Hugh Dickins
2001-07-09 17:42 ` Linus Torvalds
2001-07-09 17:58 ` Hugh Dickins
2001-07-09 18:00 ` Linus Torvalds
2001-07-10 13:25 ` Chris Wedgwood
2001-07-10 14:03 ` Andrew Morton
2001-07-10 14:15 ` Andrea Arcangeli [this message]
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=20010710161533.T1594@athlon.random \
--to=andrea@suse.de \
--cc=andrewm@uow.edu.au \
--cc=cw@f00f.org \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.