Re: [RFC PATCH] introduce sys_membarrier(): process-wide memorybarrier (v5)
From: Mathieu Desnoyers
Date: Thu Jan 21 2010 - 12:07:27 EST
* Steven Rostedt (rostedt@xxxxxxxxxxx) wrote:
> On Thu, 2010-01-21 at 11:22 -0500, Mathieu Desnoyers wrote:
> > * Steven Rostedt (rostedt@xxxxxxxxxxx) wrote:
> > > You may also need spin_lock_irqsave, et al. variants too.
> > Yep, or we simply use the local_irq_save/restore separately. That could
> > be a good idea given that only few specialized sites are affected.
> If it gets used more often, then we need to consider RT. RT modifies
> spin_lock_irqsave into a standard mutex that does not disable
> interrupts. But if something does:
> Then it will break RT (if lock is to be converted).
Good point !
> -- Steve
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
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/