mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: Akinobu Mita <akinobu.mita@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] slob: fix page order calculation on not 4KB page
Date: Sun, 29 Apr 2007 06:46:26 -0500	[thread overview]
Message-ID: <20070429114626.GD11115@waste.org> (raw)
In-Reply-To: <20070429110249.GA12187@APFDCB5C>

On Sun, Apr 29, 2007 at 08:02:49PM +0900, Akinobu Mita wrote:
> SLOB doesn't caluclate correct page order when page size is not 4KB.
> This patch fixes it with using get_order() instead of find_order()
> which is SLOB version of get_order().

Doh, that's a pretty blatant use of a magic number.

> Cc: Matt Mackall <mpm@selenic.com>
> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>

Acked-by: Matt Mackal <mpm@selenic.com>

-- 
Mathematics is the supreme nostalgia of our time.

      reply	other threads:[~2007-04-29 11:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29 11:02 Akinobu Mita
2007-04-29 11:46 ` Matt Mackall [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=20070429114626.GD11115@waste.org \
    --to=mpm@selenic.com \
    --cc=akinobu.mita@gmail.com \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome