mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 7-order allocation failed
@ 2000-11-19  6:17 Forever shall I be.
  2000-11-19 12:52 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Forever shall I be. @ 2000-11-19  6:17 UTC (permalink / raw)
  To: linux-kernel

I'm getting '__alloc_pages: 7-order allocation failed.' every time I
play something to my maestro card (using the maestro kernel module,
with dsps_order=2)..

I'm assuming the following code is to blame:

/* alloc as big a chunk as we can */
for (order = (dsps_order + (16-PAGE_SHIFT) + 1); order >= (dsps_order + 2 + 1); order--)
        if((rawbuf = (void *)__get_free_pages(GFP_KERNEL|GFP_DMA, order)))
                break;

Of course, it doesn't seem to cause any problems, but the warning is
really starting to get on my nerves...

-- 
Zinx Verituse                        (See headers for gpg/pgp key info)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 7-order allocation failed
  2000-11-19  6:17 7-order allocation failed Forever shall I be.
@ 2000-11-19 12:52 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2000-11-19 12:52 UTC (permalink / raw)
  To: Forever shall I be.; +Cc: linux-kernel

> I'm getting '__alloc_pages: 7-order allocation failed.' every time I
> play something to my maestro card (using the maestro kernel module,
> with dsps_order=2)..

Its a debugging message.

> for (order = (dsps_order + (16-PAGE_SHIFT) + 1); order >= (dsps_order + 2 + 1); order--)
>         if((rawbuf = (void *)__get_free_pages(GFP_KERNEL|GFP_DMA, order)))
>                 break;
> 
> Of course, it doesn't seem to cause any problems, but the warning is
> really starting to get on my nerves...

Order 6 succeeded in this case.

Ignore it
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-19 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-19  6:17 7-order allocation failed Forever shall I be.
2000-11-19 12:52 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®