lkml.org 
[lkml]   [2001]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fork() failing

On Thu, 18 Oct 2001, David S. Miller wrote:
>
> There are also some platforms using 1-order allocations
> for page tables as well.
>
> But I don't know if I agree with this special casing.

Well, it's not really any _new_ special casing - we've always had the
special case for order-0, the patch just expands it to order-1 too.

That said, I think a separate flag saying "don't try too hard", which can
be used for all orders, including 0 and 1, and just says that "ok, we want
you to balance things, but if this allocation fails that's not a big
deal".

So the flag would just always be implicit in allocations of higher orders,
because big orders are basically impossible to guarantee..

Linus

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

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