]> git.baikalelectronics.ru Git - kernel.git/commit
sched: remove sleep_on() and friends
authorArnd Bergmann <arnd@arndb.de>
Mon, 7 Apr 2014 15:33:06 +0000 (17:33 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 18:24:06 +0000 (11:24 -0700)
commitea8a3f4c2ae90ab5d256c1f4a8fc51b62ed8c648
tree06e8fe284ccbad76fb2fca0d9e982e5de49bf245
parentb76e812adc7f8b95bb85ef34c7d9baf1d3a1f5db
sched: remove sleep_on() and friends

This is the final piece in the puzzle, as all patches to remove the
last users of \(interruptible_\|\)sleep_on\(_timeout\|\) have made it
into the 3.15 merge window. The work was long overdue, and this
interface in particular should not have survived the BKL removal
that was done a couple of years ago.

Citing Jon Corbet from http://lwn.net/2001/0201/kernel.php3":

 "[...] it was suggested that the janitors look for and fix all code
  that calls sleep_on() [...] since (1) almost all such code is
  incorrect, and (2) Linus has agreed that those functions should
  be removed in the 2.5 development series".

We haven't quite made it for 2.5, but maybe we can merge this for 3.15.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/DocBook/kernel-hacking.tmpl
include/linux/wait.h
kernel/sched/core.c