Project

General

Profile

Bug #9452

ptable_dcmd() needs a little cleanup

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

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

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

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)

History

#1

Updated by Electric Monk over 1 year ago

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

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>

Also available in: Atom PDF