Messages in this thread | | | Date | Fri, 21 Sep 2007 13:06:07 -0700 (PDT) | From | David Rientjes <> | Subject | Re: + 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/
| |