FreeBSD Bugzilla – Attachment 218206 Details for
Bug 249326
emulators/virtualbox-ose-kmod panic in 13-CURRENT r365718 and in 12-STABLE r365830
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from kib@
patch-src_VBox_Runtime_r0drv_freebsd_memobj-r0drv-freebsd.c.patch (text/plain), 924 bytes, created by
Adriaan de Groot
on 2020-09-23 08:17:03 UTC
(
hide
)
Description:
Patch from kib@
Filename:
MIME Type:
Creator:
Adriaan de Groot
Created:
2020-09-23 08:17:03 UTC
Size:
924 bytes
patch
obsolete
>--- src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c.xxx 2020-09-20 19:40:07.471956776 +0000 >+++ src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c 2020-09-20 19:46:03.606966773 +0000 >@@ -323,7 +323,8 @@ > size_t cPages = atop(pMemFreeBSD->Core.cb); > int rc; > >- pMemFreeBSD->pObject = vm_object_allocate(OBJT_PHYS, cPages); >+ pMemFreeBSD->pObject = vm_pager_allocate(OBJT_PHYS, NULL, >+ pMemFreeBSD->Core.cb, VM_PROT_ALL, 0, curthread->td_ucred); > > /* No additional object reference for auto-deallocation upon unmapping. */ > #if __FreeBSD_version >= 1000055 >@@ -457,7 +458,8 @@ > return VERR_NO_MEMORY; > } > >- pMemFreeBSD->pObject = vm_object_allocate(OBJT_PHYS, atop(cb)); >+ pMemFreeBSD->pObject = vm_pager_allocate(OBJT_PHYS, NULL, cb, VM_PROT_ALL, >+ 0, curthread->td_ucred); > > if (PhysHighest != NIL_RTHCPHYS) > VmPhysAddrHigh = PhysHighest;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 249326
:
217970
|
218206
|
218208
|
218209