Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 1996 10:04:12 +0100
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        davidg@Root.COM
Cc:        aagero@aage.aage.priv.no, freebsd-bugs@freefall.freebsd.org
Subject:   Re: kern/901: busy pages get free'd by vm_page_free 
Message-ID:  <5526.821005452@critter.tfs.com>
In-Reply-To: Your message of "Sat, 06 Jan 1996 15:17:45 PST." <199601062317.PAA13971@corbin.Root.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
>    I just looked at my own changes and they are considerably different from
> Poul-Henning's. The correct solution for this problem I believe is what I've
> attached to this message. Basically, if "from" is already page-aligned and is
> the base address of the buffer, and if the bp->b_data contains an offset (as
> it sometimes does), then the subtraction will be negative and the machine wil
l
> panic. The solution is to page truncate bp->b_data first before subtracting.

Hmm, sounds like you understand this A LOT better than me.
pass me the hat.

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



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