Re: RFC: futex_wait() can DoS the tick

From: Mike Galbraith
Date: Thu Jun 11 2015 - 09:58:49 EST


On Thu, 2015-06-11 at 15:13 +0200, Thomas Gleixner wrote:

> What you are looking at is the actual timer interrupt vector, but
> that's not the the tick.
>
> # grep 'expire_entry.*tick_sched_timer' trace2 | wc -l
> 45
>
> 175 / 45 =~ 4 . So I you have CPNFIG_HZ=250
>
> The kernel does not care whether the actual interrupt happens or the
> timer is expired by other means.

Learn something new every day. I (obviously) had no idea that it's
perfectly fine for interrupts to go away when the CPU is busy.

Oh well. Thanks for the new wrinkle in the mush between my ears.

-Mike


--
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/