On Thursday 04 December 2014 10:03:10 Dominig ar Foll wrote:
> > 2. until you touch the pages (read or write) they don't exist so it will
> > have no impact
> 
> I have not checked that detail with latest kernel. but is use to be that
> when the kernel was giving you the allocation, the RAM was there.
> Remember tha tI assume that there is no swap.

As long as memory overcommit is turned off. As far as I know, there is no way 
to turn it completely off, even with no swap.

The kernel makes some assumptions that memory will be freed by the time you 
actually touch all the pages you asked for. And especially in the case where 
you did not touch the pages at all, the kernel did not reserve them to you and 
another process may also request them.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to