mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: akpm@osdl.org, viro@parcelfarce.linux.theplanet.co.uk
Cc: Olof Johansson <olof@austin.ibm.com>, linux-kernel@vger.kernel.org
Subject: Alignment of bitmaps for ext2_set_bit et al.
Date: Thu, 19 Aug 2004 21:16:13 +1000	[thread overview]
Message-ID: <16676.35837.215958.814591@cargo.ozlabs.ibm.com> (raw)

What can we assume about the alignment of the bitmap pointer passed to
the ext2_{set,clear}_bit_atomic functions?  Can we assume that they
will be aligned to an long boundary (8 bytes on 64-bit)?

Olof has made a patch that uses atomics for these on ppc64 rather than
locking and unlocking a lock, but it will only work correctly if the
bitmap is always 8-byte aligned.

Paul.

             reply	other threads:[~2004-08-19 11:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19 11:16 Paul Mackerras [this message]
2004-08-19 11:22 ` Andrew Morton
2004-08-19 14:42   ` David S. Miller
2004-08-19 20:39   ` Olof Johansson

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=16676.35837.215958.814591@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@austin.ibm.com \
    --cc=viro@parcelfarce.linux.theplanet.co.uk \
    /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®