Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 16:42:53 -0700
From:      David Greenman <dg@root.com>
To:        zhihuizhang <bf20761@binghamton.edu>
Cc:        hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Virtual Memory for buffer 
Message-ID:  <199808172342.QAA26017@implode.root.com>
In-Reply-To: Your message of "Mon, 17 Aug 1998 16:42:37 EDT." <Pine.SOL.L3.93.980817163010.19727B-100000@bingsun2> 

next in thread | previous in thread | raw e-mail | index | archive | help
>The virtual memory of buffer is allocated from buffer_map in getnewbuf() 
>by calling vm_map_findspace() and vm_map_insert(). Its address is saved in
>b_kvasize and (sometimes) b_data.  These are fine.  However, when
>allocbuf() extend VMIO buffer size, it *truncates* b_data to a page
>boundary before entering buffer pages into KVA.
>
>I wonder if virtual address space is not always allocated on page
>boundary, then it is possible that after the PTE has changed to point to

   Space is always allocated on a page boundry.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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