aboutsummaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorSiqi Lin <siqilin@google.com>2017-05-23 13:53:36 -0700
committerSiqi Lin <siqilin@google.com>2017-05-23 17:15:33 -0700
commit43feadd5f1036ec79887ba29519de032c0fd3322 (patch)
tree3ee43ed14e4c09078090edb63a380231a64ede84 /lib/timerqueue.c
parent011cfb3c2c46cd86f4638eef7fea2bfee070148f (diff)
arm64/configs: marlin: Enable CONFIG_DEBUG_OBJECTS_TIMERS
We're seeing crashes due to an hrtimer red-black tree getting corrupted and a hrtimer node's left or right pointer points to itself. The crash manifests as a CPU infinite looping with interrupts disabled while iterating over the corrupted hrtimer red-black tree in enqueue_hrtimer() or remove_hrtimer(). This is a debugging patch to detect certain types of hrtimer corruption due to: 1. Improper use of the hrtimer API like starting an uninitialized timer. 2. Freeing memory used to store an hrtimer while the timer is still active. Bug: 38121882 Change-Id: I65b51ec35effe103ddd4b8bac4f259cedce2a00c Signed-off-by: Siqi Lin <siqilin@google.com>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions