android_kernel_motorola_sm6375/net/netlink
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
Acked-by: Rusty Russell <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Kyle McMartin <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Patrick McHardy <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2009-09-22 07:17:38 -07:00
..
af_netlink.c mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
genetlink.c genetlink: fix netns vs. netlink table locking 2009-09-14 17:02:50 -07:00
Makefile netlink: Move netlink attribute parsing support to lib 2009-03-04 14:53:30 +08:00