[lkml]   [2001]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: system hang with "__alloc_page: 1-order allocation failed"
On Tue, 13 Mar 2001, Mike Galbraith wrote:

> (A workaround is to lower max_threads to 25% of memory.. works, but is
> really cheezy. OTOH, allowing half of memory to be allocated in task
> structs is a bit cheezy looking too. That means that these tasks
> can't be big enough to be doing real work.. no?)

If half of memory is allocated for task structures, we won't
even be able to allocate the minimum number of page table
pages needed for each task ...

For a "normal" task we'll need at least 1 page directory and
3 page table pages. We only have space for half when the
maximum number of task_struct's is allocated.

Maybe it would be good to lower the default threads-max to
about 10% or less of physical memory ?


Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.049 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site