Hi Lentila!

On Wed, 12 Dec 2001, Lentila de Vultur wrote:

> 
> 
> in /var/log/messages am o multzime de mesaje de genul:
> 
> Dec 10 16:47:08 statzie kernel: __alloc_pages: 3-order allocation failed
> (gfp=0x20/0)
> Dec 10 16:47:08 statzie kernel: __alloc_pages: 2-order allocation failed
> (gfp=0x20/0)
> Dec 10 16:44:37 umts-25 kernel: __alloc_pages: 1-order allocation failed
> (gfp=0x20/0)
> Dec 10 17:22:55 statzie kernel: __alloc_pages: 0-order allocation failed
> (gfp=0x20/0)
> 
> mai rar apare:
> 
> Dec 10 16:47:08 statzie kernel: loc_pages: 3-order allocation failed
> (gfp=0x20/0)
> ce semnifica mesajele de mai sus?
> 
> calculatorul e p3 933, mb asus i815, video matrox mga g400, nic intel
> eepro100, suse7.3 kernel 2.4.10 
> 
> 10x
> 
> -- 
> Lentila de Vultur

pai ...
# cd /usr/src/kernel-2.4.10
# vim mm/page_alloc.c
/__alloc_pages                    --> linia 316

/*
 * This is the 'heart' of the zoned buddy allocator:
 */
        struct page * __alloc_pages(unsigned int gfp_mask, unsigned int order, 
zonelist_t *zonelist)
        {
[...]

... vezi si tu ce face functia asta ... probabil aloca pagini in memoria
virtuala ...

... si undev, pe la sfarsitul functiei e un
  printk(KERN_NOTICE "__alloc_pages: %u-order allocation failed (gfp=0x%x/%i) from 
%p\n",
                 order, gfp_mask, !!(current->flags & PF_MEMALLOC), 
__builtin_return_address(0));
          return NULL;

deci se pare ca nu i`a reusit alocarea dupa toate variantele incercate
mai sus ...

dar sincer nu stiu exact ce semnific au parametrii aceia ... daca ai
timp sa studiezi problema zi`ne si noua pe lista :)

Bogdan
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui