]> git.baikalelectronics.ru Git - kernel.git/commit
futex: Avoid redudant evaluation of task_pid_vnr()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Mar 2011 10:51:22 +0000 (11:51 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 11 Mar 2011 11:23:07 +0000 (12:23 +0100)
commit530550a1cfa0762af2c3bb149c22d6513d82dcd3
treec89272252b44c8330854bee7291e81252d7715f5
parentd1bd566a19803b20a15ca282913413f2d0c1fa27
futex: Avoid redudant evaluation of task_pid_vnr()

The result is not going to change under us, so no need to reevaluate
this over and over. Seems to be a leftover from the mechanical mass
conversion of task->pid to task_pid_vnr(tsk).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c