Markus,
On Wed, Nov 19, 2008 at 7:27 PM, Markus Metzger
<markus.t.metzger@googlemail.com> wrote:
I don't think so.
Yes, I have narrowed this down to the following lines:
current->mm->total_vm -= context->pages[qual];
current->mm->locked_vm -= context->pages[qual];
I think this is again related to the problem of which thread call
ds_release(). In my test
case, this is the monitored thread as it exits. By the time it gets
there current->mm is NULL.
Yes!
But the threshold is a characteristic of the buffer, not the interrupt handler.
Depending on the tool, it may be interesting to set the threshold earlier than
at the end of the buffer.
--