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

Hugh Dickins (hugh@veritas.com)
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.

Hugh

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