Date: Fri, 15 Mar 2013 08:07:53 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Edward Tomasz Napierala <trasz@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r248298 - head/sys/kern Message-ID: <20130315060753.GS3794@kib.kiev.ua> In-Reply-To: <201303142320.r2ENKJln060775@svn.freebsd.org> References: <201303142320.r2ENKJln060775@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Xqa6BLk9/BAwVQKe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 14, 2013 at 11:20:19PM +0000, Edward Tomasz Napierala wrote: > Author: trasz > Date: Thu Mar 14 23:20:18 2013 > New Revision: 248298 > URL: http://svnweb.freebsd.org/changeset/base/248298 >=20 > Log: > Accessing td_state requires thread lock to be held. It is not the access to td_state which should be protected, but the consistency between thread state and later action based on the state, which should be atomic. --Xqa6BLk9/BAwVQKe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRQrq5AAoJEJDCuSvBvK1BUJQP/0GdFpI0P9baTNSlwgtrFoco BVReg34Wy4zV1bhOrVuM88LcJ6U1txj5cfwz9ZNhYoFxRXGuzvRnipiLN1Ya74qJ bVlGb8rIa2kF6CtWFEJ4QX6XV8C7lkacS7vikR64pha5WSxlOto8YtsZFsqlbyV9 e4T8jCQO0z/Q+DtUMXyR0WMqZVXmWJx0ZOpTTIPlA1PPLcolP/jn7/MCsfvm0Iq9 YQo1OOX6tF+FEhUUzkbJwFK9T4vHkOkQR9r9ntO4ZIEpVw2M9xYo7L3CCK0v0y0R xzBqEzG9Hhacjn5J4grBUS4gtqTniNKbC6kjBO6NFfMd+34Ti/7TudKW2jHsrLl4 iN3xK0Aab1Ex9UbSzbxQkteWgkU2BfVwNCxHJ+/ruLcZ7urnPsHTNJxF/LnhA06v KLeBjoBmEkaYJykqTjmZ5TTZxkB+Cw4zvt8j8QSCAcc9rMifrNU4DqymnKiRccYT 8BzA2MB6ts90BkJdbLhNLca5fIffXwEzUyH4hRGTczSFbOSXOKKuCq0P8tpEoqXL dNkLKWX8TWBWYEN0Ub58rvKhf4dLepDXdGG2UIuEnZo+ib+P3Y845A1uPn7UV2kZ 33b7Zmv3KM3YTPsj6loo8uFQlupdRGme2vk9Cd8crOzSautJ0kl9JisT4sEhScQp v01Kjlr+7PFXihiWzqhm =7a3w -----END PGP SIGNATURE----- --Xqa6BLk9/BAwVQKe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130315060753.GS3794>