• Linus Torvalds's avatar
    Merge branch 'sched-wait-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ce6eba3d
    Linus Torvalds authored
    Pull wait_var_event updates from Ingo Molnar:
     "This introduces the new wait_var_event() API, which is a more flexible
      waiting primitive than wait_on_atomic_t().
    
      All wait_on_atomic_t() users are migrated over to the new API and
      wait_on_atomic_t() is removed. The migration fixes one bug and should
      result in no functional changes for the other usecases"
    
    * 'sched-wait-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      sched/wait: Improve __var_waitqueue() code generation
      sched/wait: Remove the wait_on_atomic_t() API
      sched/wait, arch/mips: Fix and convert wait_on_atomic_t() usage to the new wait_var_event() API
      sched/wait, fs/ocfs2: Convert wait_on_atomic_t() usage to the new wait_var_event() API
      sched/wait, fs/nfs: Convert wait_on_atomic_t() usage to the new wait_var_event() API
      sched/wait, fs/fscache: Convert wait_on_atomic_t() usage to the new wait_var_event() API
      sched/wait, fs/btrfs: Convert wait_on_atomic_t() usage to the new wait_var_event() API
      sched/wait, fs/afs: Convert wait_on_atomic_t() usage to the new wait_var_event() API
      sched/wait, drivers/media: Convert wait_on_atomic_t() usage to the new wait_var_event() API
      sched/wait, drivers/drm: Convert wait_on_atomic_t() usage to the new wait_var_event() API
      sched/wait: Introduce wait_var_event()
    ce6eba3d
write.c 56.3 KB