]> git.baikalelectronics.ru Git - kernel.git/commit
sched/wait: Improve __var_waitqueue() code generation
authorPeter Zijlstra <peterz@infradead.org>
Thu, 15 Mar 2018 10:49:36 +0000 (11:49 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Mar 2018 07:23:25 +0000 (08:23 +0100)
commit353a8aca02bf4f643f42fcf3607b902a3af4fc71
treea93c79001c75d325e20d6325a1838b6f00510674
parent3a73375f5832423eef86b2043de7349ecbed8755
sched/wait: Improve __var_waitqueue() code generation

Since we fixed hash_64() to not suck there is no need to play games to
attempt to improve the hash value on 64-bit.

Also, since we don't use the bit value for the variables, use hash_ptr()
directly.

No change in functionality.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: George Spelvin <linux@sciencehorizons.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/wait_bit.c