Project

General

Profile

Actions

Feature #12609

closed

x86 memory DR should be disabled

Added by Patrick Mooney about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
bhyve
Gerrit CR:

Description

Upstreaming OS-6835 as a bhyve prereq:

As a side-effect of the kernel VA layout changes in OS-6606 (Feature #12608: want memory arena for vmm applications), we can no longer naively accept the system-provided plat_dr_physmax value - we end up bumping into the VA hole.

As this code is likely badly rotted anyway - if it ever worked - we'll just explicitly disable it by forcing plat_dr_physmax to zero.

For now, though, we won't make any attempt at removing any of the x86 DR code here.


Related issues

Related to illumos gate - Feature #12608: want memory arena for vmm applicationsClosedJohn Levon

Actions
Actions #1

Updated by Patrick Mooney about 2 years ago

  • Related to Feature #12608: want memory arena for vmm applications added
Actions #2

Updated by Patrick Mooney about 2 years ago

  • Tracker changed from Bug to Feature
Actions #3

Updated by Electric Monk about 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 04909c8c9ef61a86dd44bdaf341a1d9a2f0206e5

commit  04909c8c9ef61a86dd44bdaf341a1d9a2f0206e5
Author: John Levon <john.levon@joyent.com>
Date:   2020-05-08T15:21:40.000Z

    12608 want memory arena for vmm applications
    12609 x86 memory DR should be disabled
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF