Re: mmap(.., .., PROT_READ, MAP_PRIVATE, .., ..) functionality

Hugh Dickins (
Fri, 7 Mar 2003 10:20:12 +0000 (GMT)

On Thu, 6 Mar 2003, Steven Schaefer wrote:
> Doesn't mmap(), mind you with PROT_READ and MAP_PRIVATE, first copy the
> contents of the file into the swap space and then when the data is accessed
> into physical RAM before the CPU can get to it?

No, it does not copy the contents of the file into swap space.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at