Hi...

On Fri, Apr 18, 2008 at 9:39 AM, Wang Yu <[EMAIL PROTECTED]> wrote:
> Hi,all
> As the program needs, it continues to invoke alloc_pages to get pages to
> use. But when the machine's free memory drops to a certain value, the
> alloc_pages will cause the system to crash.I want to ask if there is some
> mechanism to block the process of alloc_pages until there is enough free
> memory to alloc for it.


The things is, are you sure that blocking that process will solve the
problem? IMHO, the program itself, in user or kernel space, must
employ some kind of mechannism to anticipate it...not leaving this
decision to the kernel.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to