Re: OOM notifications

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jan Kara <jack@...>
Cc: Marcelo Tosatti <marcelo@...>, <linux-kernel@...>, <drepper@...>
Date: Tuesday, October 30, 2007 - 1:31 pm

On Tue, 30 Oct 2007 16:55:25 +0100
Jan Kara <jack@suse.cz> wrote:


I think we all agree that it should not be a Unix signal, if only
because glibc cannot manipulate memory pools from signal handlers :)

The low memory message (for lack of a better word) needs to get to
userspace over a file descriptor, which the process can select() or
poll() on from its main loop.

Whether that is a device node, a sysfs file, a netlink socket or
something else ... I don't particularly care :)

-- 
All Rights Reversed
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OOM notifications, Marcelo Tosatti, (Thu Oct 18, 4:15 pm)
Re: OOM notifications, Jan Kara, (Tue Oct 30, 10:57 am)
Re: OOM notifications, Rik van Riel, (Tue Oct 30, 11:23 am)
Re: OOM notifications, Jan Kara, (Tue Oct 30, 11:55 am)
Re: OOM notifications, Rik van Riel, (Tue Oct 30, 1:31 pm)
Re: OOM notifications, Andrew Morton, (Fri Oct 26, 5:02 pm)
Re: OOM notifications, Balbir Singh, (Sun Oct 28, 5:16 pm)
Re: OOM notifications, Martin Bligh, (Fri Oct 26, 5:05 pm)
Re: OOM notifications, Andrew Morton, (Fri Oct 26, 5:11 pm)
Re: OOM notifications, Rik van Riel, (Fri Oct 26, 5:35 pm)
Re: OOM notifications, Martin Bligh, (Fri Oct 26, 5:59 pm)
Re: OOM notifications, Rik van Riel, (Fri Oct 26, 6:30 pm)