Re: [PATCH] prevent ia64 from invoking irq handlers on offline CPUs



On Sun, Aug 31, 2008 at 7:51 PM, Paul E. McKenney
<paulmck@xxxxxxxxxxxxxxxxxx> wrote:
@@ -751,6 +749,7 @@ int __cpu_disable(void)
remove_siblinginfo(cpu);
cpu_clear(cpu, cpu_online_map);

Here ^^^

fixup_irqs();
+ cpu_clear(cpu, cpu_online_map);
local_flush_tlb_all();
cpu_clear(cpu, cpu_callin_map);
return 0;

Hm. Maybe my eyes are going bad. But isn't that now clearing the cpu
both before and after calling fixup_irqs()?

I don't believe so... I removed the earlier one and added the later
one. Or is there another one hidden somewhere that I missed?

See marker above. It's not removed, is it?


Vegard

--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] fix misplaced mb() in rcu_enter/exit_nohz()
    ... On Sun, 16 Mar 2008, Paul E. McKenney wrote: ... Steve, anything Nick and ...
    (Linux-Kernel)
  • Re: [PATCH] prevent ia64 from invoking irq handlers on offline CPUs
    ... On Sun, Aug 31, 2008 at 8:06 PM, Paul E. McKenney ... Maybe my eyes are going bad. ... Paul; human after all! ...
    (Linux-Kernel)
  • Re: answer the question ardalan
    ... he is a lost soul.. ... How could they see anything but the shadows if they ... When he approaches the light his eyes will be dazzled, ... >>> night better than the sun or the light of the sun by day? ...
    (soc.culture.iranian)
  • Re: Observations From A Newbie
    ... Julie Bove typed on Sun, ... Then I lost all energy and I slumped and I sat in the bottom of the shower. ... But if that shower turned to scolding hot or I couldn't pull over and eat that candy bar on my motorcycle, I could be very dead today. ... And I am very sure I have seen studies listed right here that slamming someone to normal BG is very damaging to your eyes. ...
    (alt.support.diabetes)
  • Re: Nikon D300 HDR out of the camera !!
    ... Since the camera does the post processing in that case. ... Your eyes accomodate. ... I believe you that the image, after processing by your brain, *is* ... the sun on the white-washed building, ...
    (rec.photo.digital.slr-systems)