1
linux/net/decnet
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
..
netfilter
af_decnet.c decnet: Use rcu_barrier() on module unload. 2009-06-26 13:51:27 -07:00
dn_dev.c decnet: fix sparse warnings: symbol shadows an earlier one 2009-02-26 23:13:35 -08:00
dn_fib.c
dn_neigh.c net: make neigh_ops constant 2009-09-01 17:40:57 -07:00
dn_nsp_in.c decnet: Use data ready call back, rather than hand coding it 2009-05-09 13:15:47 -07:00
dn_nsp_out.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
dn_route.c mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
dn_rules.c net: Remove unused parameter from fill method in fib_rules_ops. 2009-05-20 17:26:23 -07:00
dn_table.c
dn_timer.c
Kconfig
Makefile
README
sysctl_net_decnet.c decnet: fix sparse warnings: symbol shadows an earlier one 2009-02-26 23:13:35 -08:00
TODO

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>