Skip to content

Conversation

@kestrelcjx
Copy link

@kestrelcjx kestrelcjx commented Nov 28, 2023

DisableOOMKiller will be ignored if it is false, which will result in oomkiller being unable to be re-enabled after this setting is disabled.

Signed-off-by: kestrel <kestrelcjx@gmail.com>
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit 1e05688 into containerd:main Dec 29, 2023
if mem.DisableOOMKiller != nil && *mem.DisableOOMKiller {
i := int64(1)
return &i
} else if mem.DisableOOMKiller != nil && !*mem.DisableOOMKiller {
Copy link
Member

Choose a reason for hiding this comment

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

No need to repeat if mem.DisableOOMKiller != nil twice

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.

2 participants