tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: crash in pipe_create()

On Wed, Feb 04, 2009 at 10:15:04AM +0900, enami tsugutomo wrote:

> Matthias Drochner <> writes:
> > Just happened - a bad pointer passed to getmicrotime().
> > Stacktrace is:
> > getmicrotime(98, ...) at getmicrotime+0x22
> > pipe_create(...) at pipe_create+0x43
> pipe_ctor() failed due to no memory and pool_cachge_get() returned
> NULL, doesn't it?

I think so. The faulting address would be useful, and if not NULL passing
it to 'whatis' if working in ddb would also be useful.

> It looks previous revsion of pipe_create() returns with error on such
> case.  Another question here is whether we can pass UVM_KMF_WAITVA flag

It can be passed there, the constructor can 'recurse' into the pool code
if needed.


Home | Main Index | Thread Index | Old Index