Messages in this thread | | | From | Linus Torvalds <> | Date | Fri, 28 Oct 2011 05:19:01 -0700 | Subject | Re: >Re: [RFC] should VM_BUG_ON(cond) really evaluate cond |
| |
On Fri, Oct 28, 2011 at 5:09 AM, Eric Dumazet <eric.dumazet@gmail.com> wrote: > > What you describe is true for non atomic variables as well, its not part > of the atomic_ops documented semantic.
Eric - your "documentation" is so much toilet paper. So don't bother talkign about "documented semantics". Start talking about SANE INTERFACES.
What I described is very much true of non-atomics. Nobody doubts that.
THE QUESTION IS WHETHER IT MAKES SENSE FOR ATOMICS, DAMMIT!
And quite frankly, the behavior I described does not seem to make any sense for atomics.
"Sane interfaces" are important. Insane interfaces lead to bugs.
Linus
| |