On Tue, Jul 15, 2014 at 07:52:20AM -0600, Ian Lepore wrote: > > bcopy(a_cp, b_cp, cnt); > > + if (__predict_false(pinned)) { > > + sched_unpin(); > > + mtx_unlock(&cpage_lock); > > + pinned = FALSE; > > Should this pinned = FALSE be done under the cpage_lock to avoid a race?
What race ? Could you describe it in more details ? Note that pinned is local variable.
pgpxMntmKl4tc.pgp
Description: PGP signature