lkml.org 
[lkml]   [1999]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQ: Buffered vs Cached vs mmap()ed
Let me get this straight...

Buffered is when a program writes to a file and
it is buffered.

Cached is for when a program reads from a file.

Is that right?

Also, if one process has a file mmap()ed and another
process is writing to it, is the other process directly
writing to the same pages? Or are they kept in sync
some other way?

Basically, when you mmap() a file, are the actual pages
in the buffer cache be mapped into your address space?

Please CC any replies to me.

Martijn

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.028 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site