Subject: Re: kernel mem
To: David Ferlier <david@netbsd-fr.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 01/09/2003 15:30:09
On Fri, Jan 10, 2003 at 12:19:34AM +0100, David Ferlier wrote:
> What i want to know is : could i throw out all this stuff, and just do a :
>
> memcpy (addr, bp->b_data, size);
Oh, yes, totally. The pages are not necessarily *physically* contiguous,
but they are *virtually* contiguous, yes. That's one of the reasons we
have virtual memory, after all.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>