On Tue, Jun 18, 2013 at 02:51:13PM +0930, Rusty Russell wrote: > Tejun Heo <[email protected]> writes: > > Buth yeah, interesting trick. We'll be doing IPIs, flushing TLB and > > taking faults until it hits zero. It'll all depend on the frequency > > of preemption but given that branches don't tend to be too expensive > > on modern processors, maybe it'd be a bit too hairy for possibly > > marginal gain? > > Yeah, I'm not convinced either, but I am hoping some enthusiast will run > with the idea in hope of Fame and Glory :)
This actually looks like a trick I think would be fun to implement. But as it being beneficial... the preempt count is used quite often, the fact that this page will be constantly in the TLB would have a bigger impact on general performance than saving the lousy branch. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

