Messages in this thread | | | Date | Wed, 19 Jun 2013 23:23:28 -0400 | From | Steven Rostedt <> | Subject | Re: A question on RCU vs. preempt-RCU |
| |
On Tue, Jun 18, 2013 at 02:51:13PM +0930, Rusty Russell wrote: > Tejun Heo <tj@kernel.org> 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
| |