From: "Michael S. Tsirkin" <mst@mellanox.co.il>
To: Badari Pulavarty <pbadari@us.ibm.com>
Cc: linux-arch@vger.kernel.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Nick Piggin <nickpiggin@yahoo.com.au>,
Andrew Morton <akpm@osdl.org>, Roland Dreier <rdreier@cisco.com>,
Hugh Dickins <hugh@veritas.com>,
Linus Torvalds <torvalds@osdl.org>,
Gleb Natapov <gleb@minantech.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
openib-general@openib.org, Petr Vandrovec <vandrove@vc.cvut.cz>,
Matthew Wilcox <matthew@wil.cx>
Subject: Re: [PATCH] add asm-generic/mman.h
Date: Wed, 15 Feb 2006 18:50:16 +0200 [thread overview]
Message-ID: <20060215165016.GD12974@mellanox.co.il> (raw)
In-Reply-To: <1140019088.21448.3.camel@dyn9047017100.beaverton.ibm.com>
Quoting r. Badari Pulavarty <pbadari@us.ibm.com>:
> Subject: Re: [PATCH] add asm-generic/mman.h
>
> On Wed, 2006-02-15 at 17:16 +0200, Michael S. Tsirkin wrote:
> > How does the following look (against gc3-git)?
>
> I tried to do the same earlier (while doing MADV_REMOVE) and got
> ugly (I was trying to completely get rid of asm-specific ones),
> so I gave up.
>
> Anyway,
>
>
> > Index: linux-2.6.16-rc3/include/asm-generic/mman.h
> > ===================================================================
> > --- /dev/null 1970-01-01 00:00:00.000000000 +0000
> > +++ linux-2.6.16-rc3/include/asm-generic/mman.h 2006-02-15 19:59:41.000000000 +0200
> ..
> > +#define MS_ASYNC 1 /* sync memory asynchronously */
> > +#define MS_SYNC 2 /* synchronous memory sync */
> > +#define MS_INVALIDATE 4 /* invalidate the caches */
>
> Shouldn't this be ?
>
> +#define MS_ASYNC 1 /* sync memory asynchronously */
> +#define MS_INVALIDATE 2 /* invalidate the caches */
> +#define MS_SYNC 4 /* synchronous memory sync */
>
> Thanks,
> Badari
>
Note that this only looks misaligned in the patch. When you apply, +
disappears and numbers get aligned.
Other stuff in asm-xx/mman.h is aligned by tabs and not by spaces,
so why should these options be aligned by spaces?
--
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
next prev parent reply other threads:[~2006-02-15 16:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 15:16 [PATCH] add asm-generic/mman.h Michael S. Tsirkin
2006-02-15 15:16 ` Michael S. Tsirkin
2006-02-15 15:58 ` Badari Pulavarty
2006-02-15 16:50 ` Michael S. Tsirkin [this message]
2006-02-15 16:52 ` Badari Pulavarty
2006-02-15 17:09 ` Michael S. Tsirkin
2006-02-15 17:17 ` Badari Pulavarty
2006-02-15 17:28 ` Linus Torvalds
2006-02-15 17:39 ` Michael S. Tsirkin
2006-02-15 17:40 ` Badari Pulavarty
2006-02-15 18:15 ` Michael S. Tsirkin
2006-02-15 17:51 ` Michael S. Tsirkin
2006-02-15 16:47 ` David Howells
2006-02-15 17:01 ` Linus Torvalds
2006-02-15 17:01 ` Linus Torvalds
2006-02-15 17:11 ` Michael S. Tsirkin
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=20060215165016.GD12974@mellanox.co.il \
--to=mst@mellanox.co.il \
--cc=akpm@osdl.org \
--cc=benh@kernel.crashing.org \
--cc=gleb@minantech.com \
--cc=hugh@veritas.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew@wil.cx \
--cc=nickpiggin@yahoo.com.au \
--cc=openib-general@openib.org \
--cc=pbadari@us.ibm.com \
--cc=rdreier@cisco.com \
--cc=torvalds@osdl.org \
--cc=vandrove@vc.cvut.cz \
/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.