Re: [GIT] Networking

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Monday, August 16, 2010 - 12:36 pm

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Sun, 15 Aug 2010 16:47:17 +0200


I'm hesistent to say that we should put this kind of patch in.

It will shut up lockdep for this specific case, but it also means
that if we do any other kinds of locking in this sequence we will
not validate it.

The valuable of this is open for debate I guess.

But locking is hard so I would say that disabling lockdep to kill a
warning it generates should be an absolute last resort.

I also don't think making the locking mechanics conditional upon
LOCKDEP is sane either, exactly because it means lockdep is testing
something other than what actually gets used in practice. :-)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT] Networking, David Miller, (Thu Aug 12, 4:10 pm)
Re: [GIT] Networking, Linus Torvalds, (Sat Aug 14, 11:05 am)
Re: [GIT] Networking, David Miller, (Sat Aug 14, 7:28 pm)
Re: [GIT] Networking, David Miller, (Sat Aug 14, 10:09 pm)
Re: [GIT] Networking, David Miller, (Sat Aug 14, 10:10 pm)
Re: [GIT] Networking, Eric Dumazet, (Sun Aug 15, 3:55 am)
Re: [GIT] Networking, Eric Dumazet, (Sun Aug 15, 7:47 am)
Re: [GIT] Networking, David Miller, (Mon Aug 16, 12:36 pm)
Re: [GIT] Networking, Eric Dumazet, (Mon Aug 16, 1:22 pm)
Re: [GIT] Networking, David Miller, (Mon Aug 16, 1:57 pm)
Re: [GIT] Networking, David Miller, (Tue Aug 17, 3:14 pm)