Project

General

Profile

Actions

Feature #6934

closed

add kstat to track anon memory reservation failure (ENOMEM)

Added by Robert Mustacchi about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2016-04-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

When debugging systems, it's often helpful to understand if they may have hit an ENOMEM case due to failure to reserve anonymous memory. This is particularly useful in application that simply explode or blow up on memory errors and make it easier to understand what happened to them.

Actions #1

Updated by Electric Monk about 5 years ago

  • Status changed from New to Closed

git commit d14b1d19b404dcc4795d8a76751a186717a0ddaa

commit  d14b1d19b404dcc4795d8a76751a186717a0ddaa
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2016-04-30T15:20:30.000Z

    6934 add kstat to track anon memory reservation failure (ENOMEM)
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF