Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1559023

Re: [tip:sched/core] locking/mutex, sched/wait: Add mutex_lock_io()

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [tip:sched/core] locking/mutex, sched/wait: Add mutex_lock_io()
Date 2017-01-14 17:20 +0100
Message-ID <sZzdD-852-9@gated-at.bofh.it> (permalink)
References <sxiFA-2q3-35@gated-at.bofh.it> <sZw65-64k-5@gated-at.bofh.it> <sZxlv-6Yc-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Mike Galbraith <efault@gmx.de> wrote:

> On Sat, 2017-01-14 at 04:50 -0800, tip-bot for Tejun Heo wrote:
> 
> > diff --git a/include/linux/mutex.h b/include/linux/mutex.h
> > index b97870f..980ba16 100644
> > --- a/include/linux/mutex.h
> > +++ b/include/linux/mutex.h
> 
> > @@ -171,11 +173,13 @@ do {									\
> >  extern void mutex_lock(struct mutex *lock);
> >  extern int __must_check mutex_lock_interruptible(struct mutex *lock);
> >  extern int __must_check mutex_lock_killable(struct mutex *lock);
> > +extern void mutex_lock_io(struct mutex *lock);
> >  
> >  # define mutex_lock_nested(lock, subclass) mutex_lock(lock)
> >  # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock)
> >  # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock)
> >  # define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock)
> > +# define mutex_lock_nest_io(lock, nest_lock) mutex_io(lock)
>                                                 ^^^^^^^^^^^^^^ typo

Double typo in fact I think, that should be something like:

# define mutex_lock_io_nested(lock, subclass) mutex_lock(lock)

Thanks,

	Ingo

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[tip:sched/core] locking/mutex, sched/wait: Add mutex_lock_io() tip-bot for Tejun Heo <tipbot@zytor.com> - 2017-01-14 14:00 +0100
  Re: [tip:sched/core] locking/mutex, sched/wait: Add mutex_lock_io() Mike Galbraith <efault@gmx.de> - 2017-01-14 15:20 +0100
    Re: [tip:sched/core] locking/mutex, sched/wait: Add mutex_lock_io() Ingo Molnar <mingo@kernel.org> - 2017-01-14 17:20 +0100

csiph-web