On Tue, 23 Sep 2014, 朱辉 wrote:
> > By the way, whether we need to modify out_of_memory() which also
> > try to kill task?
>
> I am not sure because LMK handle the memory issue early than OOM.
> But I think this issue will not affect OOM because OOM has oom_zonelist_trylock and oom_zonelist_unlock.
>
The oom killer tries to schedule other processes that exit the oom killer
without being a victim itself and any process that cannot get the zonelist
lock will do the same in the page allocator. The low memory killer case
is somewhat different.
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel