Google
  Web www.spinics.net

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


[Newbies FAQ]     [Kernel List]     [Site Home]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]     [DDR & Rambus]     [UNIX Filesystems]     [Linux Resources]

  Powered by Linux