linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <cl@linux.com>
To: Wei Yang <weiyang@linux.vnet.ibm.com>
Cc: penberg@kernel.org, rientjes@google.com,
	akpm@linux-foundation.org, linux-mm@kvack.org
Subject: Re: [PATCH 1/3] mm/slub: correct the comment in calculate_order()
Date: Wed, 21 Oct 2015 09:18:42 -0500 (CDT)	[thread overview]
Message-ID: <alpine.DEB.2.20.1510210918280.5611@east.gentwo.org> (raw)
In-Reply-To: <1445421066-10641-2-git-send-email-weiyang@linux.vnet.ibm.com>

On Wed, 21 Oct 2015, Wei Yang wrote:

> In calculate_order(), it tries to calculate the best order by adjusting the
> fraction and min_objects. On each iteration on min_objects, fraction
> iterates on 16, 8, 4. Which means the acceptable waste increases with 1/16,
> 1/8, 1/4.

Acked-by: Christoph Lameter <cl@linux.com>

--
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>

  reply	other threads:[~2015-10-21 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21  9:51 [PATCH 0/3] Slub code refine Wei Yang
2015-10-21  9:51 ` [PATCH 1/3] mm/slub: correct the comment in calculate_order() Wei Yang
2015-10-21 14:18   ` Christoph Lameter [this message]
2015-10-21  9:51 ` [PATCH 2/3] mm/slub: use get_order() instead of fls() Wei Yang
2015-10-21 14:19   ` Christoph Lameter
2015-10-22  1:09     ` Wei Yang
2015-10-21  9:51 ` [PATCH 3/3] mm/slub: calculate start order with reserved in consideration Wei Yang

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=alpine.DEB.2.20.1510210918280.5611@east.gentwo.org \
    --to=cl@linux.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=penberg@kernel.org \
    --cc=rientjes@google.com \
    --cc=weiyang@linux.vnet.ibm.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