From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nishanth Aravamudan Date: Tue, 13 Jul 2004 17:28:25 +0000 Subject: [Kernel-janitors] no set_current_state() before schedule_timeout() Message-Id: <40F41BB9.3020503@us.ibm.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============068082282815398631==" List-Id: References: <40F41170.7030605@us.ibm.com> In-Reply-To: <40F41170.7030605@us.ibm.com> To: kernel-janitors@vger.kernel.org --===============068082282815398631== 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/net/wireless/airo.c::airo_pci_resume() drivers/net/wireless/airport.c::airport_hard_reset() drivers/net/wireless/prism54/islpci_dev.c::islpci_reset_if() drivers/net/wireless/prsim54/islpci_mgt.c::islpci_mgt_transaction() 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 --===============068082282815398631== 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 --===============068082282815398631==--