Hi...

On Tue, May 6, 2008 at 10:35 AM, Wang Yu <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to