2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/Documentation/timers
Heiner Kallweit c6af13d334 timer: add fsleep for flexible sleeping
Sleeping for a certain amount of time requires use of different
functions, depending on the time period.
Documentation/timers/timers-howto.rst explains when to use which
function, and also checkpatch checks for some potentially
problematic cases.

So let's create a helper that automatically chooses the appropriate
sleep function -> fsleep(), for flexible sleeping

If the delay is a constant, then the compiler should be able to ensure
that the new helper doesn't create overhead. If the delay is not
constant, then the new helper can save some code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-06 17:03:34 -07:00
..
highres.rst docs: timers: convert docs to ReST and rename to *.rst 2019-06-14 14:31:48 -06:00
hpet.rst docs: timers: convert docs to ReST and rename to *.rst 2019-06-14 14:31:48 -06:00
hrtimers.rst docs: timers: convert docs to ReST and rename to *.rst 2019-06-14 14:31:48 -06:00
index.rst docs: add some directories to the main documentation index 2019-07-15 11:03:03 -03:00
no_hz.rst docs: timers: convert docs to ReST and rename to *.rst 2019-06-14 14:31:48 -06:00
timekeeping.rst docs: timers: convert docs to ReST and rename to *.rst 2019-06-14 14:31:48 -06:00
timers-howto.rst timer: add fsleep for flexible sleeping 2020-05-06 17:03:34 -07:00