NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/46275: Kernel panics on heavy use, kevent / pipes related?
The following reply was made to PR kern/46275; it has been noted by GNATS.
From: Reinoud Zandijk <reinoud%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/46275: Kernel panics on heavy use, kevent / pipes related?
Date: Wed, 28 Mar 2012 17:40:07 +0200
Sorry for the misunderstanding, i quoted the wrong piece of code though its
nearly identical. It should have been line 1387:
----------
static int
filt_piperead(struct knote *kn, long hint)
{
assert(kn);
assert(kn->kn_obj);
assert(((file_t *) kn->kn_obj)->f_data); * TRIGGERS *
struct pipe *rpipe = ((file_t *)kn->kn_obj)->f_data; struct pipe
*wpipe;
if ((hint & NOTE_SUBMIT) == 0) {
assert(rpipe);
mutex_enter(rpipe->pipe_lock);
}
-----------
Home |
Main Index |
Thread Index |
Old Index