lkml.org 
[lkml]   [2007]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: + oom-move-constraints-to-enum.patch added to -mm tree
On Sat, 22 Sep 2007, Alexey Dobriyan wrote:

> On Fri, Sep 21, 2007 at 02:10:57AM -0700, akpm@linux-foundation.org wrote:
> > The OOM killer's CONSTRAINT definitions are really more appropriate in an
> > enum, so define them in include/linux/oom.h.
>
> OK with enum, but this series do not bring user outside of
> mm/oom_kill.c, so why move them to header.
>

I'm not ruling it out, it may be helpful to pass the enum to
out_of_memory() when we serialize based on GFP_DMA allocations or memory
policies.
-
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: 2007-09-21 22:09    [W:0.364 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site