[RFC][Patch 1/4] kprobe fast unregistration
Christoph Hellwig
hch@infradead.org
Sat Mar 31 13:02:00 GMT 2007
On Fri, Mar 23, 2007 at 02:22:48PM -0400, Frank Ch. Eigler wrote:
> Really? What possible problems can occur? The worst that occurs to
> me is that if someone forgets to call the commit function, the kprobes
> will still be disabled, but memory won't be recycled for a while.
Exactly. It's a very unintuitive interface, exposing implementation
details to the user. The array variant otoh is obvious to the user:
gice me an array of probes to register/unregister and do it.
> Would it be possible to allay even that concern with an automated
> deferred/periodic commit?
That's even worse from the user perspective interface.
More information about the Systemtap
mailing list