Re: Some interesting news about Linux 3.12 OOM

Поиск
Список
Период
Сортировка
От Daniel Farina
Тема Re: Some interesting news about Linux 3.12 OOM
Дата
Msg-id CAAZKuFZPMkxDRwDsUUFOaP0cbeCMeD9mbEkTx2bt8gsX-Oietw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Some interesting news about Linux 3.12 OOM  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Some interesting news about Linux 3.12 OOM  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On Sep 24, 2013 10:12 AM, "Josh Berkus" <josh@agliodbs.com> wrote:
>
> All,
>
> I've send kernel.org a message that we're keen on seeing these changes
> become committed.

I thought it was merged already in 3.12. There are a few related
patches, but here's one:

commit 519e52473ebe9db5cdef44670d5a97f1fd53d721
Author: Johannes Weiner <hannes@cmpxchg.org>
Date:   Thu Sep 12 15:13:42 2013 -0700

mm: memcg: enable memcg OOM killer only for user faults

System calls and kernel faults (uaccess, gup) can handle an out of memory
situation gracefully and just return -ENOMEM.

Enable the memcg OOM killer only for user faults, where it's really the
only option available.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: azurIt <azurit@pobox.sk>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

$ git tag --contains 519e52473ebe9db5cdef44670d5a97f1fd53d721
v3.12-rc1
v3.12-rc2

Searching for recent work by Johannes Weiner shows the pertinent stuff
more exhaustively.

> BTW, in the future if anyone sees kernel.org contemplating a patch which
> helps or hurts Postgres, don't hesiate to speak up to them.  They don't
> get nearly enough feedback from DB developers.

I don't hesitate, most of the time I simply don't know.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: record identical operator
Следующее
От: Abhijit Menon-Sen
Дата:
Сообщение: Re: [PATCH] bitmap indexes