From mboxrd@z Thu Jan 1 00:00:00 1970 From: anupam.kapoor@gmail.com (Anupam Kapoor) Date: Wed, 20 Jan 2016 18:57:27 +0530 Subject: how to use wait_event_interruptible_timeout with less than 1 jiffie timeout? In-Reply-To: <20160120082554.GE13776@osadl.at> References: <87d1swsrfb.fsf@fatcat.parallelwireless> <20160120082554.GE13776@osadl.at> Message-ID: <87a8o0s7nk.fsf@fatcat.parallelwireless> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org >>>>> [2016-01-20T13:55:54+0530]: "Nicholas Mc Guire" (Nicholas): ,----[ Nicholas ] | that would still have the same limitation with resepct to time granuarlity | and as Documentation/timers/ `---- ah yes, that's true. ,----[ Nicholas ] | if you really need very short delays then you will need to resort to hrtimers | (and thus be to some extent config dependent) usleep_range(min, max) is the | prefered interface in that case. `---- any specific reason why schedule_hrtimeout(...) cannot be used ? -- kind regards anupam