linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Timur Tabi <timur@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc: fix alignment problem in rh_alloc_align() with exact-sized blocks
Date: Tue, 15 May 2007 13:21:00 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0705151320440.14194@localhost.localdomain> (raw)
In-Reply-To: <1179160286213-git-send-email-timur@freescale.com>

On Mon, 14 May 2007, Timur Tabi wrote:

> When an rheap is created, the caller can specify the alignment to use.  In
> rh_alloc_align(), if a free block is found that is the exact size needed
> (including extra space for alignment), that configured alignment value is not
> used to align the pointer.  Instead, the default alignment is used.  If the
> default alignment is smaller than the configured alignment, then the returned
> value will not be aligned correctly.
>
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
>  arch/powerpc/lib/rheap.c |   22 ++++++++--------------
>  1 files changed, 8 insertions(+), 14 deletions(-)
>

applied.

- k

      reply	other threads:[~2007-05-15 18:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-14 16:31 [PATCH] powerpc: fix alignment problem in rh_alloc_align() with exact-sized blocks Timur Tabi
2007-05-15 18:21 ` Kumar Gala [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=Pine.LNX.4.64.0705151320440.14194@localhost.localdomain \
    --to=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=timur@freescale.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;
as well as URLs for NNTP newsgroup(s).