Home
last modified time | relevance | path

Searched hist:"4671 a132" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dblk-ioc.c4671a132 Mon Mar 01 03:57:22 CST 2010 Richard Kennedy <richard@rsk.demon.co.uk> block: don't access jiffies when initialising io_context

As the comment says the initial value of last_waited is never used, so
there is no need to initialise it with the current jiffies. Jiffies is
hot enough without accessing it for no reason.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
4671a132 Mon Mar 01 03:57:22 CST 2010 Richard Kennedy <richard@rsk.demon.co.uk> block: don't access jiffies when initialising io_context

As the comment says the initial value of last_waited is never used, so
there is no need to initialise it with the current jiffies. Jiffies is
hot enough without accessing it for no reason.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>