From: Andrew Morton <akpm@linux-foundation.org>
To: Christoph Lameter <clameter@sgi.com>
Cc: apw@shadowen.org,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
Rik van Riel <riel@redhat.com>,
Jeremy Fitzhardinge <jeremy@goop.org>,
linux-mm@kvack.org
Subject: Re: [patch 0/9] Page flags V3: Cleanup and reorg
Date: Fri, 28 Mar 2008 02:08:32 -0700 [thread overview]
Message-ID: <20080328020832.5f6f8e92.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080318181957.138598511@sgi.com>
On Tue, 18 Mar 2008 11:19:57 -0700 Christoph Lameter <clameter@sgi.com> wrote:
> A set of patches that attempts to improve page flag handling.
sh allmodconfig blows up with various unsatisfied link-time references to
swapper_space.
this:
--- a/include/linux/mm.h~a
+++ a/include/linux/mm.h
@@ -605,9 +605,12 @@ static inline struct address_space *page
struct address_space *mapping = page->mapping;
VM_BUG_ON(PageSlab(page));
+#ifdef CONFIG_SWAP
if (unlikely(PageSwapCache(page)))
mapping = &swapper_space;
- else if (unlikely((unsigned long)mapping & PAGE_MAPPING_ANON))
+ else
+#endif
+ if (unlikely((unsigned long)mapping & PAGE_MAPPING_ANON))
mapping = NULL;
return mapping;
}
_
fixes it, but it shouldn't, unless it's a cimpiler bug. Could you
investigate please, check that we're not adding unintended code bloat for
some reason?
http://userweb.kernel.org/~akpm/cross-compilers/ has the toolchain.
--
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:[~2008-03-28 9:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080318181957.138598511@sgi.com>
[not found] ` <20080318182036.212376083@sgi.com>
2008-03-18 19:32 ` [patch 8/9] Pageflags: Eliminate PG_xxx aliases Pekka Enberg
2008-03-18 19:35 ` Christoph Lameter
[not found] ` <20080318182035.197900850@sgi.com>
2008-03-28 8:12 ` [patch 4/9] Pageflags: Get rid of FLAGS_RESERVED Andrew Morton
2008-03-28 18:51 ` Christoph Lameter
2008-03-28 18:59 ` Andrew Morton
2008-03-28 19:04 ` Christoph Lameter
2008-03-28 19:23 ` Andrew Morton
2008-03-29 20:22 ` Christoph Lameter
2008-03-29 22:06 ` Andrew Morton
2008-03-31 20:19 ` Christoph Lameter
2008-03-28 9:08 ` Andrew Morton [this message]
[not found] <20080401200019.47892504.akpm@linux-foundation.org>
[not found] ` <Pine.LNX.4.64.0804021026400.26938@schroedinger.engr.sgi.com>
[not found] ` <Pine.LNX.4.64.0804022125001.1684@schroedinger.engr.sgi.com>
[not found] ` <20080402.222542.106676535.davem@davemloft.net>
[not found] ` <Pine.LNX.4.64.0804031149060.7108@schroedinger.engr.sgi.com>
2008-04-10 17:33 ` [patch 0/9] Page flags V3: Cleanup and reorg Christoph Lameter
[not found] <20080308001850.306617873@sgi.com>
2008-03-11 4:50 ` Andrew Morton
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=20080328020832.5f6f8e92.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=apw@shadowen.org \
--cc=clameter@sgi.com \
--cc=jeremy@goop.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-mm@kvack.org \
--cc=riel@redhat.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).