[libvirt] [PATCH 1/6] process: Log when limiting the amount of locked memory

Peter Krempa pkrempa at redhat.com
Wed Nov 18 15:20:52 UTC 2015


On Wed, Nov 18, 2015 at 15:13:15 +0100, Andrea Bolognani wrote:
> This can be useful for debugging.
> ---
>  src/util/virprocess.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/util/virprocess.c b/src/util/virprocess.c
> index 103c114..4b18903 100644
> --- a/src/util/virprocess.c
> +++ b/src/util/virprocess.c
> @@ -766,6 +766,10 @@ virProcessSetMaxMemLock(pid_t pid, unsigned long long bytes)
>              return -1;
>          }
>      }
> +
> +    VIR_DEBUG("Locked memory for process %lld limited to %llu bytes",
> +              (long long int) pid, bytes);
> +

ACK

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151118/7785ce07/attachment-0001.sig>


More information about the libvir-list mailing list