lkml.org 
[lkml]   [2002]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Arch option to touch newly allocated pages
Date
From
bcrl@redhat.com said:
> From your explanation of things, you only need to do the memsets once
> at startup of UML where the ram is allocated -> a uml booted with
> 64MB of ram would write into every page of the backing store file
> before even running the kernel. Doesn't that accomplish the same
> thing?

Sort of, but it's very heavy-handed. The UML will force memory to be
allocated on the host long before it will ever be needed, and it may never
be needed. This patch doesn't waste memory like that.

Jeff

-
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/

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