lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 14 Jul 2008 09:44:22 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [git pull] core/softirq for v2.6.27

On Mon, 14 Jul 2008 18:31:41 +0200 Ingo Molnar <mingo@...e.hu> wrote:

> 
> * Andrew Morton <akpm@...ux-foundation.org> wrote:
> 
> > On Mon, 14 Jul 2008 16:42:43 +0200 Ingo Molnar <mingo@...e.hu> wrote:
> > >
> > 
> > It would be nice if these short-form summaries were to include the
> > commit IDs.  eg:
> > 
> > Carlos R. Mafra (1):
> >       Remove argument from open_softirq which is always NULL (962cf36)
> 
> yeah, but not sure whether git-shortlog

This was a git-shortlog feature request ;)

> can do that and this shortlog is 
> the Preferred Way of getting pull requests.
> 
> I'm using the sha1's myself for non-shortlog formats, like:
> 
>   earth4:~/tip> git-log-line linus..core/softirq
>   0f476b6: softirq: remove irqs_disabled warning from local_bh_enable
>   4620b49: softirq: remove initialization of static per-cpu variable
>   962cf36: Remove argument from open_softirq which is always NULL
> 
> where git-log-line does the obvious single-line shortcut:
> 
>   git log --no-merges --pretty=format:"%h: %s" $@
> 
> > > Carlos R. Mafra (1):
> > >       Remove argument from open_softirq which is always NULL
> > > 
> > > Johannes Berg (1):
> > >       softirq: remove irqs_disabled warning from local_bh_enable
> > 
> > This doesn't remove the warning?  (Nor should it)
> > 
> > +static inline void _local_bh_enable_ip(unsigned long ip)
> >  {
> > +       WARN_ON_ONCE(in_irq() || irqs_disabled());
> > -       WARN_ON_ONCE(in_irq());
> > -       WARN_ON_ONCE(irqs_disabled());
> > 
> > It just makes it a bit less useful.
> 
> hm, it does more than that

Yes, but it does what I said:

- Doesn't do something which the changelog said it did.  I brought this up
  because if the patch _did_ do what it said it did, davem would cry.

- Makes the warning less useful.  The reason for the warning can still
  probably be worked out from the backtrace, but it'll take more work.

> - this commit (0f476b6d9) actually caught a 
> real bug/lockup on one of my testboxes, see this (in v2.6.26) fix:
> 
> | commit c5643cab7bf663ae049b11be43de8819683176dd
> | Author: Ingo Molnar <mingo@...e.hu>
> | Date:   Mon Jun 23 10:41:23 2008 +0200
> |
> |    [netdrvr] 3c59x: remove irqs_disabled warning from local_bh_enable

OK, that title kinda makes sense.

> |    Original Author: Michael Buesch <mb@...sch.de>
> |
> |    net, vortex: fix lockup

Although that would be a better title for the 3c59x.c fix.

> [ i didnt send it to v2.6.26 because it came relatively late, it touches 
>   a sensitive, #ifdef laden piece of code and it was unknown how many 
>   false positives it would trigger. But it's perfect for v2.6.27. ]
> 

It's a small issue - it's just that the title of
0f476b6d91a1395bda6464e653ce66ea9bea7167 ("softirq: remove
irqs_disabled warning from local_bh_enable") appears to be quite
wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ