All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] no set_current_state() before schedule_timeout()
@ 2004-07-13 16:44 Nishanth Aravamudan
  2004-07-13 17:10 ` Nishanth Aravamudan
                   ` (13 more replies)
  0 siblings, 14 replies; 27+ messages in thread
From: Nishanth Aravamudan @ 2004-07-13 16:44 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

Hi,

In continuing to replace, where appropriate, code with msleep() calls, I 
ran across the following files / functions, all of which do not invoke 
set_current_state() before schedule_timeout(), which causes the latter 
to return immediately:

drivers/mtd/chips/cfi_cmdset_0001.c::do_xxlock_one_block()
drivers/mtd/chips/cfi_cmdset_0001.c::do_erase_chip()
drivers/mtd/chips/amd_flash.c::erase_one_block()
drivers/mtd/chips/cfi_cmdset_0002.c::do_erase_chip()
drivers/mtd/chips/cfi_cmdset_0002.c::do_erase_oneblock()
drivers/mtd/chips/cfi_cmdset_0020.c::do_erase_oneblock()
drivers/mtd/chips/cfi_cmdset_0020.c::do_lock_oneblock()
drivers/mtd/chips/cfi_cmdset_0020.c::do_unlock_oneblock()

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

[-- Attachment #2: Type: text/plain, Size: 167 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2004-07-13 23:59 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 16:44 [Kernel-janitors] no set_current_state() before schedule_timeout() Nishanth Aravamudan
2004-07-13 17:10 ` Nishanth Aravamudan
2004-07-13 17:16 ` Nishanth Aravamudan
2004-07-13 17:20 ` Nishanth Aravamudan
2004-07-13 17:28 ` Nishanth Aravamudan
2004-07-13 17:31 ` Nishanth Aravamudan
2004-07-13 17:34 ` Nishanth Aravamudan
2004-07-13 17:34   ` no set_current_state() before schedule_timeout() (53C700) Nishanth Aravamudan
2004-07-13 17:36 ` [Kernel-janitors] no set_current_state() before schedule_timeout() Nishanth Aravamudan
2004-07-13 17:40 ` Nishanth Aravamudan
2004-07-13 17:40   ` no set_current_state() before schedule_timeout() (OSST) Nishanth Aravamudan
2004-07-13 22:27   ` [Kernel-janitors] [PATCH] Re: no set_current_state() before Willem Riede
2004-07-13 23:07     ` [PATCH] Re: no set_current_state() before schedule_timeout() (OSST) Willem Riede
2004-07-13 23:36     ` [Kernel-janitors] [PATCH] Re: no set_current_state() before Nish Aravamudan
2004-07-13 23:36       ` [Kernel-janitors] [PATCH] Re: no set_current_state() before schedule_timeout() (OSST) Nish Aravamudan
2004-07-13 23:56       ` [Kernel-janitors] [PATCH] Re: no set_current_state() before Nishanth Aravamudan
2004-07-13 23:56         ` [Kernel-janitors] [PATCH] Re: no set_current_state() before schedule_timeout() (OSST) Nishanth Aravamudan
2004-07-13 23:59       ` [Kernel-janitors] [PATCH] Re: no set_current_state() before Willem Riede
2004-07-14  0:45         ` [Kernel-janitors] [PATCH] Re: no set_current_state() before schedule_timeout() (OSST) Willem Riede
2004-07-13 17:43 ` [Kernel-janitors] no set_current_state() before schedule_timeout() Nishanth Aravamudan
2004-07-13 17:43   ` no set_current_state() before schedule_timeout() (QLA1280) Nishanth Aravamudan
2004-07-13 17:45 ` [Kernel-janitors] no set_current_state() before schedule_timeout() Nishanth Aravamudan
2004-07-13 17:45   ` no set_current_state() before schedule_timeout() (scsi_lib) Nishanth Aravamudan
2004-07-13 17:51 ` [Kernel-janitors] no set_current_state() before schedule_timeout() Nishanth Aravamudan
2004-07-13 17:52 ` Nishanth Aravamudan
2004-07-13 17:54 ` Nishanth Aravamudan
2004-07-13 17:57 ` Nishanth Aravamudan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.