Re: system halt due to alloc_pages

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

 



Hi...

On Tue, May 6, 2008 at 10:35 AM, Wang Yu <wangyuict@xxxxxxxxx> wrote:
> Hi,all
> Now we have the following environment: serveral clients and one server.
> These clients are now writing  large amount of data to the
> server asynchronously, but the server's memeory is limited. When the server
> calls alloc_pages and fails to allocate
>  enough pages, the server will halt. I try GFP_KERNEL and __GFP_COLD and
> system will halt.

Sounds like you have to redesign your kernel code to anticipate the
failure to get that many physically contigous pages. perhaps you could
consider vmalloc()? Or prepare memory pool?

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