Re: [PATCH] rtnl: Simplify ASSERT_RTNL

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Saturday, September 29, 2007 - 10:18 am

Herbert Xu <herbert@gondor.apana.org.au> writes:


Regardless of the correctness of where we have ASSERT_RTNL.
I think not actually taking the mutex on the assertion failure path
(just so we can release it), is still a good deal regardless.

For this particular call site clearly we need to look at what
is happening a little more.  The obvious thing would be to add
an explicit might_sleep if we are calling code that can sleep.

Eric
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] rtnl: Simplify ASSERT_RTNL, Eric W. Biederman, (Fri Sep 28, 5:59 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Herbert Xu, (Fri Sep 28, 9:31 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Patrick McHardy, (Sat Sep 29, 8:32 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Eric W. Biederman, (Sat Sep 29, 10:18 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Patrick McHardy, (Sat Sep 29, 10:51 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Herbert Xu, (Sat Sep 29, 5:24 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Herbert Xu, (Sat Sep 29, 5:28 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Patrick McHardy, (Sun Sep 30, 8:47 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Herbert Xu, (Tue Oct 2, 2:28 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Patrick McHardy, (Tue Oct 2, 8:29 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Herbert Xu, (Tue Oct 2, 11:06 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Patrick McHardy, (Sun Oct 7, 9:40 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, David Miller, (Wed Oct 10, 9:16 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Eric W. Biederman, (Wed Oct 10, 11:57 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Herbert Xu, (Thu Oct 11, 12:12 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Eric W. Biederman, (Thu Oct 11, 1:23 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Herbert Xu, (Thu Oct 11, 1:28 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Eric W. Biederman, (Thu Oct 11, 9:33 am)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, David Miller, (Thu Oct 11, 5:30 pm)
Re: [PATCH] rtnl: Simplify ASSERT_RTNL, Eric W. Biederman, (Thu Oct 11, 8:15 pm)