linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Aaro Koskinen <aaro.koskinen@nokia.com>
Cc: mpm@selenic.com, cl@linux-foundation.org, linux-mm@kvack.org,
	Artem.Bityutskiy@nokia.com
Subject: Re: [PATCH v2] SLUB: fix ARCH_KMALLOC_MINALIGN cases 64 and 256
Date: Sun, 30 Aug 2009 17:01:58 +0300	[thread overview]
Message-ID: <4A9A8656.5050804@cs.helsinki.fi> (raw)
In-Reply-To: <1251458934-25838-1-git-send-email-aaro.koskinen@nokia.com>

Aaro Koskinen wrote:
> If the minalign is 64 bytes, then the 96 byte cache should not be created
> because it would conflict with the 128 byte cache.
> 
> If the minalign is 256 bytes, patching the size_index table should not
> result in a buffer overrun.
> 
> The calculation "(i - 1) / 8" used to access size_index[] is moved to
> a separate function as suggested by Christoph Lameter.
> 
> Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>

Applied, thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      parent reply	other threads:[~2009-08-30 14:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-28 11:28 [PATCH v2] SLUB: fix ARCH_KMALLOC_MINALIGN cases 64 and 256 Aaro Koskinen
2009-08-28 13:42 ` Christoph Lameter
2009-08-30 14:01 ` Pekka Enberg [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=4A9A8656.5050804@cs.helsinki.fi \
    --to=penberg@cs.helsinki.fi \
    --cc=Artem.Bityutskiy@nokia.com \
    --cc=aaro.koskinen@nokia.com \
    --cc=cl@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=mpm@selenic.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).