public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: akpm@linux-foundation.org, xemul@parallels.com,
	sfr@canb.auug.org.au, LKML <linux-kernel@vger.kernel.org>
Subject: Re: + procfs-add-vmflags-field-in-smaps-output-v3-fix-2.patch added to -mm tree
Date: Wed, 24 Oct 2012 11:24:04 +0200	[thread overview]
Message-ID: <1351070644.13456.49.camel@twins> (raw)
In-Reply-To: <20121024084515.GB30983@moon>

On Wed, 2012-10-24 at 12:45 +0400, Cyrill Gorcunov wrote:
>         for (i = 0; i < BITS_PER_LONG; i++) {
> -               if (vma->vm_flags & (1 << i))
> +               if (vma->vm_flags & (1ul << i)) {

	for_each_set_bit(i, &vma->vm_flags, BITS_PER_LONG) {

>                         seq_printf(m, "%c%c ",
>                                    mnemonics[i].l[0],
>                                    mnemonics[i].l[1]);
> +               }
>         } 

  reply	other threads:[~2012-10-24  9:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20121023220300.1185C200057@hpza10.eem.corp.google.com>
2012-10-24  8:45 ` + procfs-add-vmflags-field-in-smaps-output-v3-fix-2.patch added to -mm tree Cyrill Gorcunov
2012-10-24  9:24   ` Peter Zijlstra [this message]
2012-10-24  9:49     ` Cyrill Gorcunov
2012-10-24  9:47   ` Stephen Rothwell
2012-10-24  9:59     ` Cyrill Gorcunov
2012-10-24 10:26       ` Stephen Rothwell
2012-10-24 10:39         ` Cyrill Gorcunov

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=1351070644.13456.49.camel@twins \
    --to=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=gorcunov@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    --cc=xemul@parallels.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