login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
4
Re: Suspicious compilation warning
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Russell King - ARM Linux
Subject:
Re: Suspicious compilation warning
Date: Tuesday, May 4, 2010 - 10:45 am
On Tue, May 04, 2010 at 02:35:50PM -0300, Marcelo Jimenez wrote:
quoted text
> Hi, > > On Tue, Apr 20, 2010 at 20:07, Russell King - ARM Linux > <linux@arm.linux.org.uk> wrote: > > > > Well, it'll be about this number on everything using sparsemem extreme: > > > > #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section)) > > > > and with only 32 sections, this is going to give a NR_SECTION_ROOTS value > > of zero. I think the calculation of NR_SECTIONS_ROOTS is wrong. > > > > #define NR_SECTION_ROOTS (NR_MEM_SECTIONS / SECTIONS_PER_ROOT) > > > > Clearly if we have 1 mem section, we want to have one section root, so > > I think this division should round up any fractional part, thusly: > > > > #define NR_SECTION_ROOTS ((NR_MEM_SECTIONS + SECTIONS_PER_ROOT - 1) / SECTIONS_PER_ROOT) > > Seems correct to me, Is there any idea when this gets committed?
What should be asked is whether it has been tested - if not, can we find someone who can test and validate the change? --
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:
Suspicious compilation warning
, Marcelo Jimenez
, (Mon Apr 19, 4:27 pm)
Re: Suspicious compilation warning
, Andrew Morton
, (Tue Apr 20, 3:51 pm)
Re: Suspicious compilation warning
, Russell King - ARM Linux
, (Tue Apr 20, 4:07 pm)
Re: Suspicious compilation warning
, Marcelo Jimenez
, (Tue May 4, 10:35 am)
Re: Suspicious compilation warning
, Russell King - ARM Linux
, (Tue May 4, 10:45 am)
Re: Suspicious compilation warning
, Marcelo Jimenez
, (Tue May 4, 11:16 am)
Re: Suspicious compilation warning
, Sergei Shtylyov
, (Wed May 5, 3:06 am)
Re: Suspicious compilation warning
, Kyungmin Park
, (Wed May 5, 6:24 pm)
Re: Suspicious compilation warning
, Marcelo Jimenez
, (Thu May 6, 6:24 am)
Re: Suspicious compilation warning
, Mel Gorman
, (Mon May 10, 8:40 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Hugh Dickins
Re: Linux 2.6.26-rc1 - pgtable_32.c:178 pmd_bad
Bernhard Beck
[PATCH 001/001] usb-serial: Add ThinkOptics WavIT
Oleg Nesterov
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed
Greg KH
[patch 07/21] rtc-pcf8563: detect polarity of century bit automatically
git
:
Jonathan del Strother
Re: [PATCH] Fixing path quoting issues
Gerrit Pape
[PATCH] fix skipping merge-order test with NO_OPENSSL=1.
Linus Torvalds
Re: Implementing branch attributes in git config
Johannes Schindelin
Re: Trying to use git-filter-branch to compress history by removing large, obsolet...
Gerrit Pape
[PATCH] hooks--update: fix test for properly set up project description file
linux-netdev
:
David Miller
Re: [PATCH 04/15] tg3: Preserve LAA when device control is released
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Sven Wegener
[PATCH] ipvs: Add missing locking during connection table hashing and unhashing
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
Stephen Hemminger
[PATCH 2/2] sky2: fix transmit state on resume
git-commits-head
:
Linux Kernel Mailing List
[SCSI] scsi ioctl: fix kernel-doc warning
Linux Kernel Mailing List
ALSA: HDA - Correct trivial typos in comments.
Linux Kernel Mailing List
i2c-viapro: Add support for SMBus Process Call transactions
Linux Kernel Mailing List
i2c: Documentation: upgrading clients HOWTO
Linux Kernel Mailing List
[PATCH] fix sysctl_nr_open bugs
openbsd-misc
:
Die Gestalt
Re: How to re-build openssl with SHA1 support?
Edwin Eyan Moragas
Re: managing routes for multiple PPPoE connections
Brian Candler
Re: OBSD's perspective on SELinux
Jonathan Schleifer
Why is getaddrinfo breaking POSIX?
Predrag Punosevac
Re: Kernel developers guide/tutorial
Colocation donated by:
Syndicate