Re: /proc/self/oom_adj is deprecated in newer Linux kernels

Поиск
Список
Период
Сортировка
От Jonathan Corbet
Тема Re: /proc/self/oom_adj is deprecated in newer Linux kernels
Дата
Msg-id 20140702090810.73c5572d@lwn.net
обсуждение исходный текст
Ответ на Re: /proc/self/oom_adj is deprecated in newer Linux kernels  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: /proc/self/oom_adj is deprecated in newer Linux kernels  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Tue, 1 Jul 2014 15:57:25 -0400
Robert Haas <robertmhaas@gmail.com> wrote:

> Of course, we have no guarantee that the Linux kernel guys won't
> change this again.  Apparently "we don't break userspace" is a
> somewhat selectively-enforced principle.

It's selectively enforced in that kernel developers don't (and can't)
scan the world for software that might break.  OTOH, if somebody were
to respond to a proposed change by saying "this breaks PostgreSQL," I
would be amazed if the change were to be merged in that form.

In other words, it's important to scream.  There were concerns during
the last round of messing with the OOM logic, but nobody pointed to
something that actually broke.

I predict that somebody will certainly try to rewrite the OOM code
again in the future.  The nature of that code is such that it is never
going to work as well as people would like.  But if application
developers make it clear that they are dependent on the current
interface working, kernel developers will be constrained to keep it
working.

jon



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: better atomics - v0.5
Следующее
От: Andres Freund
Дата:
Сообщение: Re: better atomics - v0.5