Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 1997 03:13:57 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        phk@critter.freebsd.dk (Poul-Henning Kamp)
Cc:        Tor.Egge@idi.ntnu.no, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/4630: buffer_map might become corrupted
Message-ID:  <199709290813.DAA05524@dyson.iquest.net>
In-Reply-To: <242.875515605@critter.freebsd.dk> from Poul-Henning Kamp at "Sep 29, 97 08:46:45 am"

index | next in thread | previous in thread | raw e-mail

Poul-Henning Kamp said:
> 
> > This means that both vm_map_entry_dispose and vm_map_entry_create might
> > be called in an interrupt context, manipulating buffer_map and the free
> > pool of vm map entries. 
> 
> I think the problem here is calling brelse() at interrupt time, isn't it ?
> 
The problem is that brelse isn't meant to be called to free the buffer at
interrupt time.  Brelse can be called at interrupt time under certain
circumstances.  Geesh, I hate those layered drivers (like CCD and VN.)  Both
of them need to be looked at.

We need to look at a way of handling this type of problem without just
sprinkling SPL's around.

-- 
John
dyson@freebsd.org
jdyson@nc.com


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709290813.DAA05524>