Re: question on dup_task_struct

From: Andrew Morton (akpm@zip.com.au)
Date: Sat Aug 03 2002 - 17:40:48 EST


Andrew Morton wrote:
>
> Andrew Morton wrote:
> >
> > Oliver Neukum wrote:
> > >
> > > Hi,
> > >
> > > why is GFP_ATOMIC used in fork.c::dup_task_struct?
> >
> > Presumably so that the allocation of the task structure can
> > dip into the emergency pools, giving fork a better chance
> > of succeeding?
>
> Or maybe it's to _make_ it fail, so we don't loop forever in
> a 1-order allocation?
>

It's not a 1-order allocation. I'll go back to sleep now.
-
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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:23 EST