linux_old1/arch
Jan Beulich 4481374ce8 mm: replace various uses of num_physpages by totalram_pages
Sizing of memory allocations shouldn't depend on the number of physical
pages found in a system, as that generally includes (perhaps a huge amount
of) non-RAM pages.  The amount of what actually is usable as storage
should instead be used as a basis here.

Some of the calculations (i.e.  those not intending to use high memory)
should likely even use (totalram_pages - totalhigh_pages).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-22 07:17:38 -07:00
..
alpha arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
arm arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
avr32 arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
blackfin perf: Do the big rename: Performance Counters -> Performance Events 2009-09-21 14:28:04 +02:00
cris arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
frv perf: Do the big rename: Performance Counters -> Performance Events 2009-09-21 14:28:04 +02:00
h8300 Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-09-16 07:49:54 -07:00
ia64 arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
m32r arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
m68k arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
m68knommu perf: Do the big rename: Performance Counters -> Performance Events 2009-09-21 14:28:04 +02:00
microblaze arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
mips arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
mn10300 arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
parisc arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
powerpc arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
s390 arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
score score: add TIF_NOTIFY_RESUME define in asm/thread_info.h 2009-09-17 12:05:56 +08:00
sh arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
sparc arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
um arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
x86 mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
xtensa arches: drop superfluous casts in nr_free_pages() callers 2009-09-22 07:17:34 -07:00
.gitignore
Kconfig oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP 2009-09-17 15:53:42 -04:00