[Bug 1838] /proc/self/oom_adj needs to use /proc/self/oom_score_adj

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Jan 10 06:41:32 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1838

--- Comment #6 from Damien Miller <djm at mindrot.org> 2011-01-10 06:41:32 EST ---
The idiom we use is to have a sentinel array entry with an obvious NULL
or -1 somewhere we can test for:

for (i = 0; whatever[i].fnord != NULL; i++) ...

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list