login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
15
Re: [PATCH] Fix boot problem with iSeries lacking hugepage support
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Mel Gorman <mel@...>
Cc: <linuxppc-dev@...>, <sfr@...>, <linux-mm@...>, <linux-kernel@...>
Subject:
Re: [PATCH] Fix boot problem with iSeries lacking hugepage support
Date: Thursday, November 15, 2007 - 6:59 am
On Thu, 15 Nov 2007 10:52:38 +0000
mel@skynet.ie
(Mel Gorman) wrote:
quoted text
> > Shouldn't this have been HUGETLB_PAGE_ORDER? > > > > As a #define, possibly but as a static inline - definitly not. > > In this context, the define is not used because set_pageblock_order() > is a no-op when CONFIG_HUGETLB_PAGE_SIZE_VARIABLE is unset. > pageblock_default_order() is only defined for symmetry as set_pageblock_order() > is defined in both contexts. However, as a #define it might make more sense > to a casual reader to see HUGETLB_PAGE_ORDER even if it has no effect. I > can send a version of the patch that does this with a comment explaining > what is going on with set_pageblock_order() if you like. > > However, in a follow-up fix, you make pageblock_default_order() a static > inline. If it tries to return HUGETLB_PAGE_ORDER, it will fail to compile > when CONFIG_HUGETLB_PAGE is not set. > > Which would you prefer?
Don't care really. Something which is fixed up ;) -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] Fix boot problem with iSeries lacking hugepage support
, Mel Gorman
, (Thu Nov 15, 6:13 am)
Re: [PATCH] Fix boot problem with iSeries lacking hugepage s...
, Andrew Morton
, (Thu Nov 15, 6:39 am)
Re: [PATCH] Fix boot problem with iSeries lacking hugepage s...
, Mel Gorman
, (Thu Nov 15, 6:52 am)
Re: [PATCH] Fix boot problem with iSeries lacking hugepage s...
, Andrew Morton
, (Thu Nov 15, 6:59 am)
Re: [PATCH] Fix boot problem with iSeries lacking hugepage s...
, Andrew Morton
, (Thu Nov 15, 6:32 am)
Re: [PATCH] Fix boot problem with iSeries lacking hugepage s...
, Mel Gorman
, (Thu Nov 15, 7:06 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.21-rc4
Greg Kroah-Hartman
[PATCH 008/196] Chinese: add translation of volatile-considered-harmful.txt
Andrew Morton
-mm merge plans for 2.6.23
Stephane Eranian
Re: [PATCH] fix up perfmon to build on -mm
git
:
linux-netdev
:
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Natalie Protasevich
[BUG] New Kernel Bugs
linux-fsdevel
:
Linus Torvalds
Re: silent semantic changes with reiser4
jim owens
Re: ext4 - getting at birth time (file create time) and getting/setting nanosecond...
Alan Cox
Re: impact of 4k sector size on the IO & FS stack
Peter Zijlstra
Re: + mm-balance_dirty_pages-reduce-calls-to-global_page_state-to-reduce-c ache-re...
Colocation donated by:
Who's online
There are currently
1 user
and
1160 guests
online.
Online users
pepssn2310m
Syndicate