From: Jiri Pirko <jpirko@redhat.com>
To: Oleg Nesterov <oleg@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
linux-kernel@vger.kernel.org, Hugh Dickins <hugh@veritas.com>
Subject: Re: [PATCH, RESEND3] getrusage: fill ru_maxrss value
Date: Thu, 25 Dec 2008 01:11:03 +0100 [thread overview]
Message-ID: <20081225011103.3a81c19d@psychotron.englab.brq.redhat.com> (raw)
In-Reply-To: <20081224174248.GA15887@redhat.com>
On Wed, 24 Dec 2008 18:42:48 +0100
Oleg Nesterov <oleg@redhat.com> wrote:
> > > and we need good comment. e.g. /* Convert to KB */
> > > or good macros (likely linux/fs/proc/meminfo.c::K() macro)
>
> Yes! Please ;) I just can't parse the code above, I am not compiler.
> Even
>
> r->ru_maxrss *= (PAGE_SIZE / 1024); /* convert pages to KBs */
>
> is much better, imho. Or at least just add the comment, so the
> poor reader can understand what the code does without parsing.
Fine
>
> > > In addision, you also need change man pages and notice to linux-api mailing list.
> > I cc'ed this list while I was sending the patch.
>
> Hmm. The biggest mistake with this patch is that you lost the
> CC list completely ;) Adding Hugh.
>
> > I was not aware I
> > should change the man page. Will do that too.
>
> Well. I don't think you must change the man page. Of course it
> would be nice if you do, but in a separate patch please. But
> you must cc Michael at least ;)
I cc'ed him with in my patch post - It has disappeared later in RE.
>
> Oleg.
>
next prev parent reply other threads:[~2008-12-25 0:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-18 12:59 Jiri Pirko
2008-12-24 7:37 ` KOSAKI Motohiro
2008-12-24 11:17 ` Jiri Pirko
2008-12-24 17:42 ` Oleg Nesterov
2008-12-25 0:11 ` Jiri Pirko [this message]
2008-12-25 4:46 ` KOSAKI Motohiro
2008-12-25 12:44 ` Jiri Pirko
2008-12-25 14:43 ` Oleg Nesterov
2008-12-30 11:10 ` KOSAKI Motohiro
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=20081225011103.3a81c19d@psychotron.englab.brq.redhat.com \
--to=jpirko@redhat.com \
--cc=hugh@veritas.com \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®