mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Paul Mackerras <paulus@samba.org>
Cc: akpm@osdl.org, olof@austin.ibm.com, anton@samba.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PPC64 Better little-endian bitops
Date: Fri, 20 Aug 2004 09:58:39 -0700	[thread overview]
Message-ID: <20040820095839.4dc12d67.davem@redhat.com> (raw)
In-Reply-To: <16677.41654.992265.563552@cargo.ozlabs.ibm.com>

On Fri, 20 Aug 2004 17:05:26 +1000
Paul Mackerras <paulus@samba.org> wrote:

> Below patch reuses the big-endian bitops for the little endian ones, and
> moves the ext2_{set,clear}_bit_atomic functions to be truly atomic
> instead of lock based.
> 
> This requires that the bitmaps passed to the ext2_* bitop functions
> are 8-byte aligned.  I have been assured that they will be 512-byte or
> 1024-byte aligned, and sparc and ppc32 also impose an alignment
> requirement on the bitmap.

Nice.  I noticed this trick before in the s390 headers.
I'll do this on sparc64 too...

      reply	other threads:[~2004-08-20 17:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-20  7:05 Paul Mackerras
2004-08-20 16:58 ` David S. Miller [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=20040820095839.4dc12d67.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=akpm@osdl.org \
    --cc=anton@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@austin.ibm.com \
    --cc=paulus@samba.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 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®