]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Fixed the allocation of cyclics that was the cuase for some obscure crashes
authorKris Van Hees <kris.van.hees@oracle.com>
Thu, 3 Nov 2011 17:59:00 +0000 (13:59 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Thu, 3 Nov 2011 17:59:00 +0000 (13:59 -0400)
commit4e20e9b9d2a207b0eb35e1689147de1e06cfe1f5
tree4cffa0c28c6d4a0de6207c38ef32565631b15a8b
parentd6871da33f90d73fee0407a8b40ece48a2dc76e8
Fixed the allocation of cyclics that was the cuase for some obscure crashes
during the testsuite execution.  Problem was that cyclics were being allocated
in chunks, with a new array being allocated as (prev-size + chink-size), and
then the old entries being copied over.  However, because the hrtimer struct is
embedded in the cyclic struct, this meant that hrtimer structs were being moved
outside the hrtimer code.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/dtrace_dev.c
dtrace/dtrace_state.c
dtrace/dtrace_util.c
dtrace/profile_dev.c