On Thu, Sep 04, 2014 at 01:39:38PM +0000, Liu, Chuansheng wrote: > > So IIUC, kick_all_cpus_sync is a broken function, right ?
> kick_all_cpus_sync has other callers, and those other callers want the > old behavior. I think this should be a new function. Correct, things like arch/powerpc/mm/pgtable_64.c:pmdp_clear_flush() really want the old behaviour. It basically uses local_irq_disable()/local_irq_enable() vs kick_all_cpus_sync() as a RCU like serialization primitive. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/