From: Anton Blanchard <anton@samba.org>
To: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Cc: Rik van Riel <riel@conectiva.com.br>,
Krzysztof Rusocki <kszysiu@main.braxis.co.uk>,
linux-xfs@oss.sgi.com, linux-kernel@vger.kernel.org
Subject: Re: %u-order allocation failed
Date: Sun, 7 Oct 2001 04:12:01 +1000 [thread overview]
Message-ID: <20011007041201.D15309@krispykreme> (raw)
In-Reply-To: <Pine.LNX.4.33L.0110061357560.12110-200000@imladris.rielhome.conectiva> <Pine.LNX.3.96.1011006194028.5632A-100000@artax.karlin.mff.cuni.cz>
In-Reply-To: <Pine.LNX.3.96.1011006194028.5632A-100000@artax.karlin.mff.cuni.cz>
> Of course vmalloc space can overflow - but it overflows only when the
> machine is overloaded with too many processes, too many processes with
> many filedescriptors etc. On the other hand, the buddy allocator fails
> *RANDOMLY*. Totally randomly, depending on cache access patterns and
> page allocation times.
vmalloc space is also much worse for tlb usage when the main kernel mapping
uses large hardware ptes. Ingo and davem pointed this out to me recently
when I wanted to allocate the pagecache hash using vmalloc (at the
moment it maxes out at order 10 which is much to small for machines
with large memory).
If you could get away with a single page stack, then you could allocate
the task struct separately and avoid any order 1 allocation. But you
would probably need interrupt stacks to get away with a single page
stack.
Anton
next prev parent reply other threads:[~2001-10-06 18:16 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-05 11:07 %u-order allocation failed Krzysztof Rusocki
2001-10-05 11:59 ` Rik van Riel
2001-10-05 20:18 ` Seth Mos
2001-10-05 20:22 ` Rik van Riel
2001-10-05 20:31 ` Seth Mos
2001-10-05 20:43 ` Steve Lord
2001-10-05 21:09 ` Seth Mos
2001-10-05 22:06 ` David Schwartz
2001-10-05 22:16 ` Seth Mos
2001-10-06 14:00 ` Mikulas Patocka
2001-10-06 14:03 ` Rik van Riel
2001-10-06 14:44 ` Mikulas Patocka
2001-10-06 15:31 ` Mikulas Patocka
2001-10-06 19:05 ` Mikulas Patocka
2001-10-06 16:58 ` Rik van Riel
2001-10-06 17:48 ` Mikulas Patocka
2001-10-06 18:12 ` Anton Blanchard [this message]
2001-10-06 19:07 ` Mikulas Patocka
2001-10-06 20:13 ` Benjamin Herrenschmidt
2001-10-06 22:34 ` Mikulas Patocka
2001-10-07 1:23 ` Rik van Riel
2001-10-07 11:12 ` Benjamin Herrenschmidt
2001-10-06 21:13 ` Alan Cox
2001-10-06 22:31 ` Mikulas Patocka
2001-10-06 22:42 ` Alan Cox
2001-10-06 22:58 ` Mikulas Patocka
[not found] ` <Pine.LNX.3.96.1011007003803.18004D-100000@artax.karlin.mff.cuni .cz>
2001-10-06 23:36 ` Alex Bligh - linux-kernel
[not found] ` <Pine.LNX.3.96.1011007002406.18004A-100000@artax.karlin.mff.cuni .cz>
2001-10-06 23:34 ` Alex Bligh - linux-kernel
2001-10-07 7:35 ` Pavel Machek
[not found] ` <Pine.LNX.3.96.1011006164044.29342B-200000@artax.karlin.mff.cuni .cz>
2001-10-06 17:59 ` Alex Bligh - linux-kernel
2001-10-06 19:13 ` Mikulas Patocka
2001-10-06 19:22 ` arjan
2001-10-06 22:36 ` Mikulas Patocka
[not found] ` <Pine.LNX.3.96.1011006210743.7808D-100000@artax.karlin.mff.cuni. cz>
2001-10-06 23:26 ` Alex Bligh - linux-kernel
2001-10-07 18:30 ` Eric W. Biederman
2001-10-08 15:01 ` Alex Bligh - linux-kernel
2001-10-07 18:32 ` Eric W. Biederman
2001-10-07 9:40 ` Alan Cox
2001-10-07 12:28 ` Mikulas Patocka
2001-10-07 14:12 ` Alan Cox
2001-10-07 15:42 ` Mikulas Patocka
2001-10-07 22:01 ` Alan Cox
2001-10-08 15:08 ` Alex Bligh - linux-kernel
2001-10-08 16:44 ` Pavel Machek
2001-10-08 22:21 ` Mikulas Patocka
2001-10-08 21:16 ` David Lang
[not found] ` <Pine.LNX.3.96.1011009001720.20446A-100000@artax.karlin.mff.cuni .cz>
2001-10-08 22:53 ` Alex Bligh - linux-kernel
2001-10-08 23:31 ` Mikulas Patocka
2001-10-08 23:44 ` Alan Cox
2001-10-08 23:46 ` Mikulas Patocka
2001-10-09 9:45 ` Pavel Machek
2001-10-08 23:48 ` Linus Torvalds
2001-10-08 23:54 ` Mikulas Patocka
2001-10-09 11:48 ` Rik van Riel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011007041201.D15309@krispykreme \
--to=anton@samba.org \
--cc=kszysiu@main.braxis.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@oss.sgi.com \
--cc=mikulas@artax.karlin.mff.cuni.cz \
--cc=riel@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox