kernel-fxtec-pro1x/net
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
..
9p
802
8021q
appletalk
atm
ax25
bluetooth
bridge
can
core mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
dcb
dccp mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
decnet mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
dsa
econet
ethernet
ieee802154
ipv4 mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
ipv6 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2009-09-17 20:53:52 -07:00
ipx
irda
iucv
key
lapb
llc
mac80211
netfilter mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
netlabel
netlink mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
netrom
packet
phonet
rds Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2009-09-17 20:53:52 -07:00
rfkill
rose
rxrpc
sched pkt_sched: Fix qstats.qlen updating in dump_stats 2009-09-17 10:26:07 -07:00
sctp mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
sunrpc const: mark remaining super_operations const 2009-09-22 07:17:24 -07:00
tipc
unix
wanrouter
wimax
wireless
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c const: mark remaining super_operations const 2009-09-22 07:17:24 -07:00
sysctl_net.c
TUNABLE