Martin Polednik has uploaded a new change for review. Change subject: osinfo: memoize runtime_kernel_flags ......................................................................
osinfo: memoize runtime_kernel_flags Unless magic is involved, we don't expect the underlying kernel to change. Memoize to save uname calls. Change-Id: I9c015f0086ca66231f9f4dbe0c1f16d3fd197f31 Signed-off-by: Martin Polednik <[email protected]> --- M lib/vdsm/osinfo.py 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/16/65716/1 diff --git a/lib/vdsm/osinfo.py b/lib/vdsm/osinfo.py index f5342a4..bf2cd5f 100644 --- a/lib/vdsm/osinfo.py +++ b/lib/vdsm/osinfo.py @@ -248,6 +248,7 @@ return pkgs [email protected] def runtime_kernel_flags(): ret = os.uname() try: -- To view, visit https://gerrit.ovirt.org/65716 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9c015f0086ca66231f9f4dbe0c1f16d3fd197f31 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Martin Polednik <[email protected]> _______________________________________________ vdsm-patches mailing list -- [email protected] To unsubscribe send an email to [email protected]
