From: Rusty Russell <rusty@rustcorp.com.au>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: adobriyan@sw.ru, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Whine about suspicious return values from module's ->init() hook
Date: Wed, 6 Feb 2008 17:55:26 +1100 [thread overview]
Message-ID: <200802061755.27057.rusty@rustcorp.com.au> (raw)
In-Reply-To: <20080205153752.243d3b63.akpm@linux-foundation.org>
On Wednesday 06 February 2008 10:37:52 Andrew Morton wrote:
> On Wed, 6 Feb 2008 09:48:10 +1100
>
> Rusty Russell <rusty@rustcorp.com.au> wrote:
> > > It's a no-brainer.
> >
> > For non-developers, WARN_ON is a noop.
>
> Oh.. Rusty. The mailing list and bugzilla are *full* of WARN_ON reports
> from testers. Your statement is empirically wrong.
My apologies. I had extrapolated from my own behaviour: I don't notice
WARN_ON unless something else goes wrong to make me look in the logs.
> > BUG_ON() will make us fix it in return for short-term pain.
>
> Pain to our users and testers. People upon whom we are very dependent and
> to whom we are hugely indebted. People who I have to spend a lot of time
> defending from the likes of you!
I think you misunderstand. I proposed that we audit all the code before such
a change. We shouldn't do *anything* until we can estimate the impact this
change will have.
Our users deserve better than "I don't know if this will break anything so I
used WARN_ON". They deserve "we have confidence that this change won't break
any existing code".
Now, if an audit is impractical or unreliable, we are better off with a
WARN_ON. But it is still an admission of ignorance.
Cheers,
Rusty.
next prev parent reply other threads:[~2008-02-06 6:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 15:42 [PATCH] Whine about suspicious return values from module's ->init() hook Alexey Dobriyan
2008-02-04 21:15 ` Andrew Morton
2008-02-05 3:43 ` Rusty Russell
2008-02-05 3:53 ` Andrew Morton
2008-02-05 6:08 ` Rusty Russell
2008-02-05 6:24 ` Andrew Morton
2008-02-05 22:48 ` Rusty Russell
2008-02-05 23:37 ` Andrew Morton
2008-02-06 6:55 ` Rusty Russell [this message]
2008-02-10 22:09 ` [PATCH v2] " Alexey Dobriyan
2008-03-04 3:24 ` Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200802061755.27057.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=adobriyan@sw.ru \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox