Re: Dtrace port status

From: John Birrell <jb_at_what-creek.com>
Date: Fri, 21 Sep 2007 21:57:09 +0000
On Fri, Sep 21, 2007 at 09:14:27AM +0100, Doug Rabson wrote:
> I see your problem. How about adding a char td_dtrace_reserved[some
> number] which can be cast into a dtrace structure in dtrace code but
> which is opaque to normal kernel code?

I am going to allocate the DTrace part like the scheduler stuff
gets allocated - at the end using the uma zone calls. That way
it will really be opaque. When the DTrace modules want to get at
their private variables they can just offset the thread pointer.
Unlike the td_sched, there won't be a pointer in the visible
struct thread to retain binary compatibility with the release.

--
John Birrell
Received on Fri Sep 21 2007 - 19:54:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC