From patchwork Thu Oct 18 13:24:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 985901 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-96507-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="vavSTt5p"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42bVCM3JnKz9s9h for ; Fri, 19 Oct 2018 00:25:02 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=p2Ih/vCjaIlhDlUczMKm/WRHAD3Es ABGCRVW6tj3yJzEhyg55vva2rQ9gDjHqnAlHINtRqwg/ga0HQkmRjZbtn7B00fJP WgNwLV1jJoCCxgIfA6OLR4ge7Cfm+5eQs+EKpubk8/npgn8z7/PDrU0hnZKqYnvT qOBxRUjHzmyMag= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=N9iIAmsq6GcbOkibu2qNAYne5G8=; b=vav STt5plmVLMUp4pDik8C7KhSpOpIXaJsiKGbzC1mjDGYNJvYqPcpCT5jRn4B1mq9u lag6Mxx3bO5JNo4DPQCUkPm2XodV2JVZ1YVu02RHMNlvOY2xJ9sg9MMapKYHK4RA ayJrnJy+BYpmzHmqfMYQzapeXRIALnndxDBUKHIQ= Received: (qmail 55822 invoked by alias); 18 Oct 2018 13:24:53 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 51818 invoked by uid 89); 18 Oct 2018 13:24:44 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Amount X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] resource: Update struct rusage comments [BZ #23689] Date: Thu, 18 Oct 2018 15:24:30 +0200 Message-ID: <87efcngzg1.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 2018-10-18 Florian Weimer [BZ #23689] * resource/bits/types/struct_rusage.h (struct rusage): Update comment on struct. Remove extraneous field comment. diff --git a/resource/bits/types/struct_rusage.h b/resource/bits/types/struct_rusage.h index 5dc0916aa7..5ff94296ad 100644 --- a/resource/bits/types/struct_rusage.h +++ b/resource/bits/types/struct_rusage.h @@ -22,7 +22,9 @@ #include #include -/* Structure which says how much of each resource has been used. */ +/* Structure which says how much of each resource has been used. If + the system does not keep track of a particular value, the struct + field is always zero. */ /* The purpose of all the unions is to have the kernel-compatible layout while keeping the API type as 'long int', and among machines where @@ -42,7 +44,6 @@ struct rusage }; /* Amount of sharing of text segment memory with other processes (kilobyte-seconds). */ - /* Maximum resident set size (in kilobytes). */ __extension__ union { long int ru_ixrss;