[Bug 258535] New: /proc/self/oom_adj needs to use /proc/self/oom_score_adj

David Rientjes rientjes at google.com
Thu Dec 2 01:57:07 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=258535

           Summary: /proc/self/oom_adj needs to use
                    /proc/self/oom_score_adj
           Product: kde
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: rientjes at google.com


Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

/proc/self/oom_adj is deprecated in Linux 2.6.36 and later kernels; it
is scheduled for removal in August 2012.

start_kdeinit uses this interface to disable oom killing.

The new interface to use is /proc/self/oom_score_adj.  Instead of
writing -17 to /proc/self/oom_adj, sshd should now write -1000 to
/proc/self/oom_score_adj for the same behavior.

The filename and value written needs to be changed for 2.6.36 and later
kernels.

Reproducible: Always

Steps to Reproduce:
Starting kde on 2.6.36 or later kernels will emit a warning message to the
kernel log:

start_kdeinit (1502): /proc/1502/oom_adj is deprecated, please use
/proc/1502/oom_score_adj instead.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list