All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] proc: use unsigned long inside /proc/*/statm
Date: Sun, 21 Nov 2010 14:09:07 +0800	[thread overview]
Message-ID: <20101121060907.GE9099@hack> (raw)
In-Reply-To: <20101120014114.GA31477@core2.telecom.by>

On Sat, Nov 20, 2010 at 03:41:15AM +0200, Alexey Dobriyan wrote:
>/proc/*/statm code needlessly truncates data from unsigned long to int.
>One needs only 8+ TB of RAM to make truncation visible.
>
>Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Reviewed-by: WANG Cong <xiyou.wangcong@gmail.com>

Thanks.

      reply	other threads:[~2010-11-21  6:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-20  1:41 [PATCH] proc: use unsigned long inside /proc/*/statm Alexey Dobriyan
2010-11-21  6:09 ` Américo Wang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101121060907.GE9099@hack \
    --to=xiyou.wangcong@gmail.com \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.