Re: [PATCH] softirq: Use local_irq_save() in local_bh_enable()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jarek Poplawski <jarkao2@...>
Cc: Ingo Molnar <mingo@...>, David Miller <davem@...>, Ferenc Wagner <wferi@...>, <netdev@...>, <linux-kernel@...>
Date: Monday, November 17, 2008 - 10:18 am

On Mon, 2008-11-17 at 13:35 +0000, Jarek Poplawski wrote:

Unfortunately my brain lacks the magic to decrypt x86 stack traces, so
I'm unable to read much from that report other than that it hit the
WARN_ON. That looks more like the TX path to me? Anyway, my patch made
that trigger for everybody rather than just on NOPREEMPT/UP (or
something like that) and made the code easier to understand by removing
the flags that are pointless anyway if the API is used correctly.

You can find discussion around the patch at
http://lkml.org/lkml/2008/6/17/259


Do we have evidence of this actually hitting often? This is the first
report of anything going wrong that I've seen ever since a single one
right after this commit went into testing five months ago.

IFF we want to add this back (and I'm not in favour) then please add a
big comment that this is only to accomodate broken users.

johannes
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
two warns on slowpath, Ferenc Wagner, (Thu Nov 6, 1:40 pm)
[PATCH] softirq: Fix warnings triggered by netconsole, Jarek Poplawski, (Wed Nov 19, 4:41 am)
Re: [PATCH] softirq: Fix warnings triggered by netconsole, Jarek Poplawski, (Wed Nov 19, 7:07 am)
[PATCH] netconsole: Disable softirqs in write_msg(), Jarek Poplawski, (Wed Nov 19, 4:41 am)
Re: [PATCH] netconsole: Disable softirqs in write_msg(), David Miller, (Wed Nov 19, 6:10 am)
Re: [PATCH] netconsole: Disable softirqs in write_msg(), David Miller, (Wed Nov 19, 5:42 am)
Re: [PATCH] netconsole: Disable softirqs in write_msg(), David Miller, (Wed Nov 19, 6:17 am)
Re: [PATCH] netconsole: Disable softirqs in write_msg(), David Miller, (Wed Nov 19, 6:22 am)
[PATCH] softirq: Use local_irq_save() in local_bh_enable(), Jarek Poplawski, (Mon Nov 17, 9:35 am)
Re: [PATCH] softirq: Use local_irq_save() in local_bh_enable(), Johannes Berg, (Mon Nov 17, 10:18 am)