lkml.org 
[lkml]   [2000]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: OOM in 2.2.14
Date
	Just to be a frick'n idiot, why not just have the kernel
issue messages to the kernel log when swap space becomes low,
(configurable via /proc), and have a user-land daemon monitor
for that, and Do The Right Thing(TM)?

Would take a lot of the OOM cruft out of the kernel, and
would alloe pop-up messages, selectable kill-this-app dialogs,
AI systems, whatever.

Just say:

Jan 11, 2000: kernel: VM Warning: Swap space at %90
Jan 11, 2000: kernel: VM Warning: Swap space at %95
Jan 11, 2000: kernel: VM Warning: Swap space at %98
Jan 11, 2000: kernel: VM Fatal: Swap space exhausted!

--
Jason McMullan, Senior Linux Consultant, Linuxcare, Inc.
412.422.8077 tel, 412.656.3519 cell, 415.701.0792 fax
jmcmullan@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans