From: Andreas Bombe <andreas.bombe@munich.netsurf.de>
To: Tim Hockin <thockin@isunix.it.ilstu.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how mmap() works?
Date: Mon, 2 Apr 2001 02:42:36 +0200 [thread overview]
Message-ID: <20010402024236.A5057@storm.local> (raw)
In-Reply-To: <20010401184131.A2474@storm.local> <200104012028.PAA05467@isunix.it.ilstu.edu>
In-Reply-To: <200104012028.PAA05467@isunix.it.ilstu.edu>; from thockin@isunix.it.ilstu.edu on Sun, Apr 01, 2001 at 03:28:05PM -0500
On Sun, Apr 01, 2001 at 03:28:05PM -0500, Tim Hockin wrote:
> > Without syncing, Linux writes whenever it thinks it's appropriate, e.g.
> > when pages have to be freed (I think also when the bdflush writes back
> > data, i.e. every 30 seconds by default).
>
> what about mmap() on non-filesystem files (/dev/mem, /proc/bus/pci...) ?
They map physically present memory directly and do not have to be
synced, since all writes go directly to their destination (which is of
course not possible with disk files). I'm not that sure if PCI is a bit
special case though, since not all architectures can access it like
memory.
--
Andreas E. Bombe <andreas.bombe@munich.netsurf.de> DSA key 0x04880A44
http://home.pages.de/~andreas.bombe/ http://linux1394.sourceforge.net/
prev parent reply other threads:[~2001-04-02 0:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-29 22:14 how mmap() works? Jerry Hong
2001-03-29 22:38 ` J . A . Magallon
2001-04-01 16:41 ` Andreas Bombe
2001-04-01 20:28 ` Tim Hockin
2001-04-02 0:42 ` Andreas Bombe [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=20010402024236.A5057@storm.local \
--to=andreas.bombe@munich.netsurf.de \
--cc=linux-kernel@vger.kernel.org \
--cc=thockin@isunix.it.ilstu.edu \
/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