Open the root disk with O_DIRECT. We do not want both the real kernel and
commit140283e86c76194d2d41b671869858706363c1b2
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 11 Jan 2007 02:46:48 +0000 (11 02:46 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 11 Jan 2007 02:46:48 +0000 (11 02:46 +0000)
tree27259e1c67b65fcf6ec6857fefc2214b3183142e
parentec3032ed1511a760121526bdfbc928962f8435f4
Open the root disk with O_DIRECT.  We do not want both the real kernel and
the virtual kernel caching the 'disk' data.  We just want the virtual kernel
to cache the data so memory resource use is limited to the 'physical' memory
specified when starting up the virtual kernel.
sys/platform/vkernel/platform/init.c