This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/4075] BUG: sleeping function called from invalid context, when running systemtap tests
- From: "hunt at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 19 Feb 2007 18:24:18 -0000
- Subject: [Bug runtime/4075] BUG: sleeping function called from invalid context, when running systemtap tests
- References: <20070219151346.4075.srinivasa@in.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From hunt at redhat dot com 2007-02-19 18:24 -------
(In reply to comment #2)
> Or one could stop trying to get around the appropriate might_sleep warning, and
> instead use (and port if needed) the exception-fixup-protected mechanisms such
> as stp_strncpy_from_user or kread*.
All the userspace copy mechanisms we use are exception-fixup-protected.
And kread is only for kernel copies.
Are you suggesting we create our own set of userspace copy functions instead of
relying on the shifting ones in the kernel?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4075
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.