Re: memory allocation when allocating pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...

On Fri, Apr 18, 2008 at 9:39 AM, Wang Yu <wangyuict@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux