Skip to content

Conversation

datawolf
Copy link
Contributor

@datawolf datawolf commented Jan 3, 2017

Signed-off-by: Wang Long [email protected]

func FindCgroupMountpoint(subsystem string) (string, error) {
// We are not using mount.GetMounts() because it's super-inefficient,
// parsing it directly sped up x10 times because of not using Sscanf.
// It was one of two major performance drawbacks in container start.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep these comments please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I move it in func FindCgroupMountpointAndRoot

Signed-off-by: Wang Long <[email protected]>
@datawolf
Copy link
Contributor Author

ping @hqhq

@dqminh
Copy link
Contributor

dqminh commented Jan 12, 2017

LGTM

Approved with PullApprove

1 similar comment
@hqhq
Copy link
Contributor

hqhq commented Jan 13, 2017

LGTM

Approved with PullApprove

@hqhq hqhq merged commit a9610f2 into opencontainers:master Jan 13, 2017
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.

3 participants