Project

General

Profile

Feature #10932

want _MACHDEP-free cpuset_t access

Added by Patrick Mooney 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
2019-05-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

During development on LX, we wanted a way to get a snapshot of active CPUs without going to the trouble of grabbing cpu_lock and walking them all. It also makes cpuset_t usable (albeit in an opaque matter) outside _MACHDEP contexts.
This change is a combination of the following SmartOS tickets:

OS-5669
OS-5668
OS-5707
OS-6068
OS-7774

History

#2

Updated by Electric Monk 10 months ago

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

git commit 89574a1f89d2af2d1755c4e854b150d6113e0564

commit  89574a1f89d2af2d1755c4e854b150d6113e0564
Author: Patrick Mooney <pmooney@pfmooney.com>
Date:   2019-05-10T21:51:12.000Z

    10932 want _MACHDEP-free cpuset_t access
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF