From: David Howells <dhowells@redhat.com>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: dhowells@redhat.com, clameter@sgi.com, mpm@selenic.com,
linux-mm@kvack.org
Subject: Re: Slab initialisation problems on MN10300
Date: Mon, 18 Feb 2008 23:02:28 +0000 [thread overview]
Message-ID: <31300.1203375748@redhat.com> (raw)
In-Reply-To: <84144f020802180918h6fb4d52fw4c592407a16b19c0@mail.gmail.com>
Pekka Enberg <penberg@cs.helsinki.fi> wrote:
> If you didn't see PARTIAL_AC state at all, SLAB thinks INDEX_AC and
> INDEX_L3 are equal. However,
Ah... The problem is that index_of() behaves differently under -O0 rather
than -O1, -O2 or -Os.
I was using -O0 so that I could debug another problem using GDB on the kernel.
However, this appears to mean that __builtin_constant_p() inside an inline
function is always false, even if the function is actually inlined because of
__always_inline.
I'd commented out the __bad_size() calls because they went to places that
don't exist, and so the -O0 kernel wouldn't link.
David
--
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>
prev parent reply other threads:[~2008-02-18 23:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 16:07 Slab initialisation problems on MN10300 David Howells
2008-02-18 17:18 ` Pekka Enberg
2008-02-18 17:37 ` Pekka Enberg
2008-02-18 20:39 ` David Howells
2008-02-18 20:38 ` David Howells
2008-02-18 20:57 ` Pekka Enberg
2008-02-18 22:41 ` David Howells
2008-02-18 23:02 ` David Howells [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=31300.1203375748@redhat.com \
--to=dhowells@redhat.com \
--cc=clameter@sgi.com \
--cc=linux-mm@kvack.org \
--cc=mpm@selenic.com \
--cc=penberg@cs.helsinki.fi \
/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).