[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/51045: DRM driver panic if RAM/swap runs out
The following reply was made to PR kern/51045; it has been noted by GNATS.
Subject: Re: kern/51045: DRM driver panic if RAM/swap runs out
Date: Tue, 5 Apr 2016 13:30:26 +0000
I have some suspicion this is related to the following code:
/* Note: both calls may allocate memory and sleep. */
udv = kmem_alloc(sizeof(*udv), KM_SLEEP);
uvm_obj_init(&udv->u_obj, &uvm_deviceops, true, 1);
I believe kmem_alloc should be tested but is not.
Sorry if this is unrelated.
Main Index |
Thread Index |