Date: Tue, 26 Aug 2014 09:45:38 -0400 From: John Baldwin <jhb@freebsd.org> To: Mateusz Guzik <mjg@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r270648 - in head/sys: kern sys Message-ID: <201408260945.39017.jhb@freebsd.org> In-Reply-To: <201408260817.s7Q8HMMT044455@svn.freebsd.org> References: <201408260817.s7Q8HMMT044455@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, August 26, 2014 4:17:22 am Mateusz Guzik wrote: > Author: mjg > Date: Tue Aug 26 08:17:22 2014 > New Revision: 270648 > URL: http://svnweb.freebsd.org/changeset/base/270648 > > Log: > Fix up races with f_seqcount handling. > > It was possible that the kernel would overwrite user-supplied hint. > > Abuse vnode lock for this purpose. > > In collaboration with: kib > MFC after: 1 week Do we care about this being correct enough to penalize reads by single- threading them? This is just an optimization, if you lose the race it doesn't actually break anything. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408260945.39017.jhb>