[parisc-linux] keyboard_tasklet bug?
Thu, 29 Nov 2001 12:22:05 +0000
On Thu, Nov 29, 2001 at 12:45:26AM -0700, Ryan Bradetich wrote:
> Hello parisc-linux hackers,
> I have spent the last couple of evenings exploring new (to me anyways)
> parts of the kernel tracking down a SMP hang on my C200+. What I found
> appears to be a more generic bug, so I'm posting it here for ideas on
> how to fix it, or for someone to explain to me why this isn't a bug :)
Sounds very similar to the problem I fixed with the led tasklet
/* Only schedule the led tasklet on cpu 0, and only if it
* is enabled.
if (cpu == 0 && !atomic_read(&led_tasklet.count))
where I added the atomic_read() call. In that case it wasn't hanging
my (UP) machine, but it left ksoftirqd_CPU0 at 100% CPU.