* Re: __alloc_pages: 3-order allocation failed.
@ 2001-08-13 2:20 Douglas Gilbert
2001-08-13 2:04 ` Marcelo Tosatti
0 siblings, 1 reply; 5+ messages in thread
From: Douglas Gilbert @ 2001-08-13 2:20 UTC (permalink / raw)
To: Marcelo Tosatti, linux-kernel
Marcelo wrote:
> > On Sun, 12 Aug 2001, André Dahlqvist wrote:
> > With recent kernel, 2.4.7 and 2.4.8 my syslog file has been filled with
> > these messages:
> >
> > Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 3-order allocation failed.
> > Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 2-order allocation failed.
> > Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 1-order allocation failed.
> > Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 3-order allocation failed.
> >
> > I have not yet found a pattern for when it happens but it doesn't seam to
> > affect my system all that much. Let me know if you want further info or if
> > this is a known thing.
>
> Are you using SCSI?
Marcelo,
That looks just like the sg driver trying to build a
scatter gather list, first it tries 32 KB, then 16 KB
then 8 KB and final gets PAGE_SIZE. This is _not_ an
error (it just leads to more elements in the scatter
gather list).
Any chance that printk() in __alloc_pages() can be removed?
Doug Gilbert
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: __alloc_pages: 3-order allocation failed.
2001-08-13 2:20 __alloc_pages: 3-order allocation failed Douglas Gilbert
@ 2001-08-13 2:04 ` Marcelo Tosatti
0 siblings, 0 replies; 5+ messages in thread
From: Marcelo Tosatti @ 2001-08-13 2:04 UTC (permalink / raw)
To: Douglas Gilbert; +Cc: linux-kernel
On Sun, 12 Aug 2001, Douglas Gilbert wrote:
> Marcelo wrote:
> > > On Sun, 12 Aug 2001, André Dahlqvist wrote:
> > > With recent kernel, 2.4.7 and 2.4.8 my syslog file has been filled with
> > > these messages:
> > >
> > > Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 3-order allocation failed.
> > > Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 2-order allocation failed.
> > > Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 1-order allocation failed.
> > > Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 3-order allocation failed.
> > >
> > > I have not yet found a pattern for when it happens but it doesn't seam to
> > > affect my system all that much. Let me know if you want further info or if
> > > this is a known thing.
> >
> > Are you using SCSI?
>
> Marcelo,
> That looks just like the sg driver trying to build a
> scatter gather list, first it tries 32 KB, then 16 KB
> then 8 KB and final gets PAGE_SIZE. This is _not_ an
> error (it just leads to more elements in the scatter
> gather list).
Ok.
> Any chance that printk() in __alloc_pages() can be removed?
Hum, I don't think its a good idea: we _want_ to know if __alloc_pages()
failed in case the allocation being done is critical.
A new allocation flag to indicate if its the allocation being done is just
an "optimization" (which means the VM can be more lazy when trying to free
pages) and not a critical allocation is the way to go, IMO.
^ permalink raw reply [flat|nested] 5+ messages in thread
* __alloc_pages: 3-order allocation failed.
@ 2001-08-12 0:58 André Dahlqvist
2001-08-13 0:32 ` Marcelo Tosatti
0 siblings, 1 reply; 5+ messages in thread
From: André Dahlqvist @ 2001-08-12 0:58 UTC (permalink / raw)
To: linux-kernel
Hi guys,
With recent kernel, 2.4.7 and 2.4.8 my syslog file has been filled with
these messages:
Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 3-order allocation failed.
Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 2-order allocation failed.
Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 1-order allocation failed.
Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 3-order allocation failed.
I have not yet found a pattern for when it happens but it doesn't seam to
affect my system all that much. Let me know if you want further info or if
this is a known thing.
--
André Dahlqvist <andre.dahlqvist@telia.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: __alloc_pages: 3-order allocation failed.
2001-08-12 0:58 André Dahlqvist
@ 2001-08-13 0:32 ` Marcelo Tosatti
2001-08-13 2:05 ` André Dahlqvist
0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Tosatti @ 2001-08-13 0:32 UTC (permalink / raw)
To: André Dahlqvist; +Cc: linux-kernel
On Sun, 12 Aug 2001, André Dahlqvist wrote:
> Hi guys,
>
> With recent kernel, 2.4.7 and 2.4.8 my syslog file has been filled with
> these messages:
>
> Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 3-order allocation failed.
> Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 2-order allocation failed.
> Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 1-order allocation failed.
> Aug 12 02:08:58 sledgehammer kernel: __alloc_pages: 3-order allocation failed.
>
> I have not yet found a pattern for when it happens but it doesn't seam to
> affect my system all that much. Let me know if you want further info or if
> this is a known thing.
Are you using SCSI?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-08-13 3:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-13 2:20 __alloc_pages: 3-order allocation failed Douglas Gilbert
2001-08-13 2:04 ` Marcelo Tosatti
-- strict thread matches above, loose matches on Subject: below --
2001-08-12 0:58 André Dahlqvist
2001-08-13 0:32 ` Marcelo Tosatti
2001-08-13 2:05 ` André Dahlqvist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox