From: Nishanth Aravamudan Date: Tue, 13 Jul 2004 17:43:43 +0000 Subject: [Kernel-janitors] no set_current_state() before schedule_timeout() Message-Id: <40F41F4F.7030806@us.ibm.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============66396595167337735==" List-Id: References: <40F41170.7030605@us.ibm.com> In-Reply-To: <40F41170.7030605@us.ibm.com> To: kernel-janitors@lists.osdl.org Cc: linux-scsi@vger.kernel.org --===============66396595167337735== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, In continuing to replace, where appropriate, code with msleep() calls, I ran across the following file(s) / function(s), which do not invoke set_current_state() before schedule_timeout(), which causes the latter to return immediately: drivers/scsi/qla1280.c::qla1280_bus_reset If someone could tell me which state (TASK_INTERRUPTIBLE or TASK_UNINTERRUPTIBLE) is desired, I can fix this and perhaps replace the calls with msleep(). Thanks, Nish --===============66396595167337735== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============66396595167337735==--