Project

General

Profile

Actions

Bug #9452

closed

ptable_dcmd() needs a little cleanup

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-04-10
Due date:
% Done:

100%

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

Description

tsoome noticed that after 8956 Implement KPTI, ptable_dcmd() is a little screwy:

if (len != mmu.pte_size)
return (DCMD_ERR);
pte = buf;

This needs further cleanup (by removing buf altogether)

Actions #1

Updated by Electric Monk over 5 years ago

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

git commit ff9e88cea66c73818b035c646e3bb615ba3ff2bd

commit  ff9e88cea66c73818b035c646e3bb615ba3ff2bd
Author: John Levon <john.levon@joyent.com>
Date:   2018-04-14T16:04:47.000Z

    9452 ptable_dcmd() needs a little cleanup
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Norm Jacobs <naj@snapcon.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF