lkml.org 
[lkml]   [1998]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Out Of Memory in v. 2.1
Date
From
In message <Pine.GSO.3.96.981006083726.24596A-100000@ultra5>, Shaun Wilson 
writ
es:
+-----
| With the recent discussion of OOM and killers, why again was it a bad
| thing to just return a NULL upon a memory request that would otherwise
| fail? Isn't this by definition to way xalloc() operates?
+--->8

Because sometimes what's demanding memory isn't a userspace program. It's
the kernel, for its own purposes, and you can't point to any user process
and say "here's the culprit, kill it!". And failing the allocation will
cause far worse problems.

--
brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
system administrator [WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university



-
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:44    [W:0.296 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site