Re: + oom-move-constraints-to-enum.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 22 Sep 2007, Alexey Dobriyan wrote:

> On Fri, Sep 21, 2007 at 02:10:57AM -0700, [email protected] 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux