Project

General

Profile

Bug #9208

hati_demap_func should take pagesize into account

Added by John Levon over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-02-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

See https://smartos.org/bugview/OS-6390
The crux being:

The issue here is that hati_demap_func does not take pagesize into account -- which means for the 32G segment that consists of 32 1G pages, we are performing over 8 million invlpg instructions where we should do only 32!

History

#1

Updated by John Levon over 1 year ago

  • Assignee set to John Levon
#2

Updated by Electric Monk over 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit c2e5ad711a2ab2bdc091fb89f679218c8cb3405b

commit  c2e5ad711a2ab2bdc091fb89f679218c8cb3405b
Author: Sam Gwydir <sam.gwydir@joyent.com>
Date:   2018-04-10T14:36:09.000Z

    9208 hati_demap_func should take pagesize into account
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Tim Kordas <tim.kordas@joyent.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF