aboutsummaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorChinmay V S <chinmay.v.s@pathpartnertech.com>2012-02-03 21:30:50 +0530
committerMoyster <oysterized@gmail.com>2016-08-26 20:20:22 +0200
commit478c700c01cb041a95a4540915717c3012d1e5b2 (patch)
tree0a2668e972ebd87099f1ba3de34fb3e7e5928462 /kernel/workqueue.c
parent6d1a0ace27b41d4f3f50ec42d0300a75ac5f7c68 (diff)
Optimise apply_slack() for size and speed.
To apply proper slack, the original algorithm used to prepare a mask and then apply the mask to obtain the appropriately rounded-off absolute time the timer expires. This patch modifies the masking logic to a bit-shift logic, therby reducing the complexity and number of operations. Thus obtaining a minor speed-up. Signed-off-by: Chinmay V S <chinmay.v.s@pathpartnertech.com> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions