From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Paul Jackson <pj@sgi.com>
Cc: christoph@lameter.com, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, manfred@colorfullife.com
Subject: Re: [RFT/PATCH] slab: consolidate allocation paths
Date: Sun, 05 Feb 2006 10:41:12 +0200 [thread overview]
Message-ID: <1139128872.11782.5.camel@localhost> (raw)
In-Reply-To: <20060204180026.b68e9476.pj@sgi.com>
Hi,
On Sat, 2006-02-04 at 18:00 -0800, Paul Jackson wrote:
> Two issues I can see:
>
> 1) This patch increased the text size of mm/slab.o by 776
> bytes (ia64 sn2_defconfig gcc 3.3.3), which should be
> justified. My naive expectation would have been that
> such a source code consolidation patch would be text
> size neutral, or close to it.
Ah, sorry about that, I forgot to verify the NUMA case. The problem is
that to kmalloc_node() is calling cache_alloc() now which is forced
inline. I am wondering, would it be ok to make __cache_alloc()
non-inline for NUMA? The relevant numbers are:
text data bss dec hex filename
15882 2512 24 18418 47f2 mm/slab.o (original)
16029 2512 24 18565 4885 mm/slab.o (inline)
15798 2512 24 18334 479e mm/slab.o (non-inline)
> 2) You might want to hold off this patch for a few days,
> until the dust settles from my memory spread patch.
Sure.
Pekka
WARNING: multiple messages have this Message-ID (diff)
From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Paul Jackson <pj@sgi.com>
Cc: christoph@lameter.com, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, manfred@colorfullife.com
Subject: Re: [RFT/PATCH] slab: consolidate allocation paths
Date: Sun, 05 Feb 2006 10:41:12 +0200 [thread overview]
Message-ID: <1139128872.11782.5.camel@localhost> (raw)
In-Reply-To: <20060204180026.b68e9476.pj@sgi.com>
Hi,
On Sat, 2006-02-04 at 18:00 -0800, Paul Jackson wrote:
> Two issues I can see:
>
> 1) This patch increased the text size of mm/slab.o by 776
> bytes (ia64 sn2_defconfig gcc 3.3.3), which should be
> justified. My naive expectation would have been that
> such a source code consolidation patch would be text
> size neutral, or close to it.
Ah, sorry about that, I forgot to verify the NUMA case. The problem is
that to kmalloc_node() is calling cache_alloc() now which is forced
inline. I am wondering, would it be ok to make __cache_alloc()
non-inline for NUMA? The relevant numbers are:
text data bss dec hex filename
15882 2512 24 18418 47f2 mm/slab.o (original)
16029 2512 24 18565 4885 mm/slab.o (inline)
15798 2512 24 18334 479e mm/slab.o (non-inline)
> 2) You might want to hold off this patch for a few days,
> until the dust settles from my memory spread patch.
Sure.
Pekka
--
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>
next prev parent reply other threads:[~2006-02-05 8:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-04 13:33 [RFT/PATCH] slab: consolidate allocation paths Pekka Enberg
2006-02-04 13:33 ` Pekka Enberg
2006-02-04 15:11 ` Christoph Lameter
2006-02-04 15:11 ` Christoph Lameter
2006-02-04 16:26 ` Pekka Enberg
2006-02-04 16:26 ` Pekka Enberg
2006-02-04 16:32 ` Pekka Enberg
2006-02-04 16:32 ` Pekka Enberg
2006-02-05 2:00 ` Paul Jackson
2006-02-05 2:00 ` Paul Jackson
2006-02-05 3:44 ` Christoph Lameter
2006-02-05 3:44 ` Christoph Lameter
2006-02-05 4:36 ` Paul Jackson
2006-02-05 4:36 ` Paul Jackson
2006-02-05 8:41 ` Pekka Enberg [this message]
2006-02-05 8:41 ` Pekka Enberg
2006-02-05 9:18 ` Pekka Enberg
2006-02-05 9:18 ` Pekka Enberg
2006-02-05 12:29 ` Pekka Enberg
2006-02-05 12:29 ` Pekka Enberg
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=1139128872.11782.5.camel@localhost \
--to=penberg@cs.helsinki.fi \
--cc=christoph@lameter.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=manfred@colorfullife.com \
--cc=pj@sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.