Subject: Re: kernel mem
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: David Ferlier <david@netbsd-fr.org>
List: tech-kern
Date: 01/10/2003 01:09:48
On Thu, Jan 09, 2003 at 03:30:09PM -0800, Jason R Thorpe wrote:
> 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.
Thanks a lot Jason. That will simplify my code :-)
>
> --
> -- Jason R. Thorpe <thorpej@wasabisystems.com>
>
--
David Ferlier - david@netbsd-fr.org ||
dferlier@BonBon.net
www.NetBSD.org - Of Course It Runs NetBSD