This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
In my custom board I need to upgrade kernel 2.6.32 to linux-2.6.37-psp04.02.00.07 with older one file system.
I made changes in file system scripts, but in on boot time I am getting following log of udevd binary.
[ 16.312683] udevd (755): /proc/755/oom_adj is deprecated, please use /proc/755/oom_score_adj instead.
[ 16.344207] udev: starting version 141
Due to that I am not able to kill process using "Ctrl + C" of keyboard.
Please help me to resolve this issue
As per 2.6.37 kernel documentation:
---------------------------
What: /proc/<pid>/oom_adj
When: August 2012
Why: /proc/<pid>/oom_adj allows userspace to influence the oom killer's
badness heuristic used to determine which task to kill when the kernel
is out of memory.
The badness heuristic has since been rewritten since the introduction of
this tunable such that its meaning is deprecated. The value was
implemented as a bitshift on a score generated by the badness()
function that did not have any precise units of measure. With the
rewrite, the score is given as a proportion of available memory to the
task allocating pages, so using a bitshift which grows the score
exponentially is, thus, impossible to tune with fine granularity.
A much more powerful interface, /proc/<pid>/oom_score_adj, was
introduced with the oom killer rewrite that allows users to increase or
decrease the badness() score linearly. This interface will replace
/proc/<pid>/oom_adj.
A warning will be emitted to the kernel log if an application uses this
deprecated interface. After it is printed once, future warnings will be
suppressed until the kernel is rebooted.
---------------------------
Regards,
Jignesh
I don't think your 'Ctrl-C' issue is caused by that udevd warning message, because I am seeing that message all the time but I have no issue to use 'Ctrl-C'.