Project

General

Profile

Actions

Bug #9208

closed

hati_demap_func should take pagesize into account

Added by John Levon over 5 years ago. Updated over 5 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

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!

Actions #1

Updated by John Levon over 5 years ago

  • Assignee set to John Levon
Actions #2

Updated by Electric Monk over 5 years 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>

Actions

Also available in: Atom PDF