linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <20080318182035.197900850@sgi.com>]
  • * Re: [patch 0/9] Page flags V3: Cleanup and reorg
           [not found] <20080318181957.138598511@sgi.com>
           [not found] ` <20080318182036.212376083@sgi.com>
           [not found] ` <20080318182035.197900850@sgi.com>
    @ 2008-03-28  9:08 ` Andrew Morton
      2 siblings, 0 replies; 11+ messages in thread
    From: Andrew Morton @ 2008-03-28  9:08 UTC (permalink / raw)
      To: Christoph Lameter
      Cc: apw, KAMEZAWA Hiroyuki, KOSAKI Motohiro, Rik van Riel,
    	Jeremy Fitzhardinge, linux-mm
    
    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>
    
    ^ permalink raw reply	[flat|nested] 11+ messages in thread

  • end of thread, other threads:[~2008-03-31 20:19 UTC | newest]
    
    Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [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 ` [patch 0/9] Page flags V3: Cleanup and reorg Andrew Morton
    

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