From owner-svn-src-all@freebsd.org Thu May 19 16:36:53 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18A53B42A3E for ; Thu, 19 May 2016 16:36:53 +0000 (UTC) (envelope-from scott4long@yahoo.com) Received: from nm6-vm2.bullet.mail.gq1.yahoo.com (nm6-vm2.bullet.mail.gq1.yahoo.com [98.136.218.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E43D816B4 for ; Thu, 19 May 2016 16:36:52 +0000 (UTC) (envelope-from scott4long@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1463674995; bh=yYem7rVxpLjQcza5d4RzPmmk/yOsl7hUyOw8/8sdz0A=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=uS1SWAHx7THqZqB2jAtT7ogxcXNHhGRoMmHfN0wfP83h+r0iSfPie2d4MNPiqDLC4ZYLu2YWHsFO/mX+Wtu/f7dcwgJLWK5tpYFxL1nOhLePLfuDTNMBfYulh+1+Of8FzS2CuL9T0OGU/C9dSVRg2Wt9ZjZK7mN4o7/l1Nc2kFVcRfSIuj+b0vD9DVt5UsqZtmX0PlJ4OvEXxO8l31BYQ+OGij4/Je/5p4n6fBnxNJe9o6GTMdAlwjF2GoPsNROc4l8/sAIpVNtspnzcv1nlADwmegCU39280lvIz19N/C9T+fCvxz14Qn2J0ZJwbEefu5652m+oTszS3vOgAVPyZw== Received: from [98.137.12.61] by nm6.bullet.mail.gq1.yahoo.com with NNFMP; 19 May 2016 16:23:15 -0000 Received: from [98.136.164.75] by tm6.bullet.mail.gq1.yahoo.com with NNFMP; 19 May 2016 16:23:15 -0000 Received: from [127.0.0.1] by smtp237.mail.gq1.yahoo.com with NNFMP; 19 May 2016 16:23:15 -0000 X-Yahoo-Newman-Id: 566897.29876.bm@smtp237.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: pK6oMk8VM1ky1_YSGZNN2H4_RjMJeQZv8u27Rxz0nJMqATe fGhk3ua..z_QJFTgLRYiDxNOme3.qyEmbuoMwolU7LI_OGxhFupfNyxmNyGX mnOJpttoURGPoMs_.5wuKTy57LbtpWILfCrDcq7mt0KCgnH3AsOeZ39Vqkn4 LZuJ_ZAn_kNvD1z5I7dB2S6vOBvzH6I0.0T5GwRqxHTrghL0aITXl4OXYx.A pTJLEV6fD0ob5UjX2.rI7P6RQQhyAeiq9pGjZVX4AMrJpGfp7LnOGtETTK_x nWwquyc3F5gwfFfvfHImkMGNPNQ8q1hT0Bik6s0QJw580QbW9jfsj1lPgV37 8bThUloyKP4SkIM06WPHp3Xo2wwlz4x218PH9hQ0LEPw_see9Xd8f5m0HZcw ojvOyvjADXaB2MgEa9sKpL9NSOzphizsiOUAXvPDOroqdPFZCAV0c3lYVMY1 2KiO2CEvkSZBKeZwv5tugEyFFYzo2nkMtHvmthrhn1DbwhiBWVXeqPBrQSrZ BFJ_MmZzKQxblFthvZS7blf1qP6Iy8P2wxS1879M- X-Yahoo-SMTP: clhABp.swBB7fs.LwIJpv3jkWgo2NU8- Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: svn commit: r300201 - head/sys/sys From: Scott Long In-Reply-To: <201605191119.u4JBJb9f027906@repo.freebsd.org> Date: Thu, 19 May 2016 10:23:13 -0600 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201605191119.u4JBJb9f027906@repo.freebsd.org> To: Alexander Motin X-Mailer: Apple Mail (2.3124) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 16:36:53 -0000 Thanks! Scott > On May 19, 2016, at 5:19 AM, Alexander Motin wrote: >=20 > Author: mav > Date: Thu May 19 11:19:37 2016 > New Revision: 300201 > URL: https://svnweb.freebsd.org/changeset/base/300201 >=20 > Log: > Add ta_flags initialization in old macros missed in 300113. >=20 > Depending on uninitialized memory content it could cause loss of = wakeup() > call in taskqueue_run_locked(). >=20 > Modified: > head/sys/sys/taskqueue.h >=20 > Modified: head/sys/sys/taskqueue.h > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/sys/taskqueue.h Thu May 19 11:02:39 2016 = (r300200) > +++ head/sys/sys/taskqueue.h Thu May 19 11:19:37 2016 = (r300201) > @@ -97,6 +97,7 @@ void taskqueue_set_callback(struct taskq >=20 > #define TASK_INITIALIZER(priority, func, context) \ > { .ta_pending =3D 0, \ > + .ta_flags =3D 0, \ > .ta_priority =3D (priority), \ > .ta_func =3D (func), \ > .ta_context =3D (context) } > @@ -112,6 +113,7 @@ void taskqueue_thread_enqueue(void *cont > */ > #define TASK_INIT(task, priority, func, context) do { \ > (task)->ta_pending =3D 0; \ > + (task)->ta_flags =3D 0; \ > (task)->ta_priority =3D (priority); \ > (task)->ta_func =3D (func); \ > (task)->ta_context =3D (context); \ >=20