Re: [PATCH] __free_pages_ok oops

From: Gerd Knorr (kraxel@bytesex.org)
Date: Sat Feb 09 2002 - 09:14:15 EST


> and Gerd Knorr's report (extracts below) implies that his bttv driver
> was calling unmap_kiobuf at interrupt time. Is that right, Gerd?

Yes.

> encourage him to unmap at interrupt time). Now maybe Gerd's code is
> wrong anyway: a quick look suggests it may also vfree there, which
> would be wrong at interrupt time.

vfree() isn't allowed? I know vmalloc() isn't because it might sleep
while waiting for the VM getting a few free pages. Why vfree isn't
allowed? I can't see why freeing ressources is a problem ...

Is somewhere a list of things which are allowed from irq context and
which are not?

  Gerd

-- 
#define	ENOCLUE 125 /* userland programmer induced race condition */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:27 EST