Thanks to visit codestin.com
Credit goes to github.com

Skip to content

system: Add MemInfo utility.#8550

Merged
unclejack merged 1 commit into
moby:masterfrom
aluzzardi:f-meminfo
Oct 23, 2014
Merged

system: Add MemInfo utility.#8550
unclejack merged 1 commit into
moby:masterfrom
aluzzardi:f-meminfo

Conversation

@aluzzardi

Copy link
Copy Markdown
Member

MemInfo provides a simple API to get memory information from the
system.

Signed-off-by: Andrea Luzzardi [email protected]

@aluzzardi

Copy link
Copy Markdown
Member Author

@vieux @crosbymichael: Let me know if this is a good location for this utility.

@crosbymichael

Copy link
Copy Markdown
Contributor

I think it's fine. Maybe add some comments to the exported funcs and types

@crosbymichael

Copy link
Copy Markdown
Contributor

ping @aluzzardi

@unclejack

Copy link
Copy Markdown
Contributor

MemInfo, ErrMalformed and ReadMemInfo require comments.

MemInfo provides a simple API to get memory information from the
system.

Signed-off-by: Andrea Luzzardi <[email protected]>
@aluzzardi

Copy link
Copy Markdown
Member Author

PTAL

@jessfraz

Copy link
Copy Markdown
Contributor

LGTM

@aluzzardi

Copy link
Copy Markdown
Member Author

@unclejack: Regarding ErrMalformed, my philosophy is that errors.New("this is the documentation and the comment is redundant").

Thoughts?

@unclejack

Copy link
Copy Markdown
Contributor

@aluzzardi That's fair enough.

LGTM

@aluzzardi

Copy link
Copy Markdown
Member Author

Thanks! Anyone willing to press the merge button? I'd rather not merge my own stuff in.

unclejack added a commit that referenced this pull request Oct 23, 2014
system: Add MemInfo utility.
@unclejack unclejack merged commit 1aa6707 into moby:master Oct 23, 2014
@aluzzardi aluzzardi deleted the f-meminfo branch May 7, 2015 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants