3 tj|||r6tjgndd|S|sPt j ddSdS)NdefragF)rzJOption 'transparent_hugepage.defrag' is not supported on current hardware.) rrr rrrr!r"r#rr)r r$r%r&r'r r r _set_transparent_hugepage_defragfs  z)VMPlugin._set_transparent_hugepage_defragcCs6tjj|jd}tjj|r.tjtj|SdSdS)Nr-)rrr rrrr*r)r r'r r r _get_transparent_hugepage_defragss z)VMPlugin._get_transparent_hugepage_defragN)__name__ __module__ __qualname____doc__ classmethodr rrrZ command_setr(r)Z command_getr+r,r.r/r r r r rs    r)rZ decoratorsZ tuned.logsZtunedrr"structZglobZtuned.utils.commandsrZlogsgetrrZPluginrr r r r s