Re: [tip:timers/nohz] nohz: Move full nohz kick to its own IPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Note the current ordering:
> 
>     cmpxchg(&qsd->pending, 0, 1)       get ipi
>     csd_lock(qsd->csd)                 xchg(&qsd->pending, 1)
>     send ipi                           csd_unlock(qsd->csd)
> 
> 
> So there shouldn't be racing updaters. Also ipi sender shouldn't
> race with ipi receiver, the update shouldn't always eventually see
> the unlock happening.

Yeah, I've not spotted how this particular train wreck happens either.

The problem is reproduction, it took me 9 hours to confirm I could
reproduce the problem on my machine. So how long to I run it with this
patch reverted to show its gone..
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux