lkml.org 
[lkml]   [2011]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRFC: Remove unnecessary / duplicate OOM printks
From
Date
There are many thousands of printks for OOM conditions
in kernel sources.

These are almost always a duplication of a generic
OOM message from the mm subsystem.

The biggest difference between the generic OOM and
the specific OOM uses is that most of the specific
messages are emitted at KERN_ERR but the generic
message is at KERN_WARNING.

Many KB of code/text could be removed from the kernel.

Removal can be gradual and done by subsystem.

Some kmalloc's that are followed on failure by vmalloc
may need to add GFP_NOWARN.

Does anyone really believe the per site failure
messages are useful or really want them to keep them?



\
 
 \ /
  Last update: 2011-08-25 22:49    [W:0.038 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site