linux/fs/ntfs
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
..
aops.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
aops.h
attrib.c
attrib.h
bitmap.c
bitmap.h
ChangeLog
collate.c
collate.h
compress.c fs: rename buffer trylock 2008-08-04 21:56:09 -07:00
debug.c
debug.h ntfs: don't fool kernel-doc 2008-12-01 19:55:25 -08:00
dir.c ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
dir.h
endian.h
file.c ntfs: Use new syncing helpers and update comments 2009-09-14 17:08:16 +02:00
index.c
index.h
inode.c ntfs: use is_power_of_2() function for clarity. 2009-06-16 19:47:48 -07:00
inode.h
Kconfig fs/Kconfig: move ntfs out 2009-01-22 13:15:55 +03:00
layout.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
lcnalloc.c
lcnalloc.h
logfile.c ntfs: use is_power_of_2() function for clarity. 2009-06-16 19:47:48 -07:00
logfile.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
Makefile
malloc.h mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
mft.c ntfs: Use new syncing helpers and update comments 2009-09-14 17:08:16 +02:00
mft.h
mst.c
namei.c [PATCH] switch all filesystems over to d_obtain_alias 2008-10-23 05:13:01 -04:00
ntfs.h
quota.c
quota.h
runlist.c
runlist.h
super.c Push BKL down into ->remount_fs() 2009-06-11 21:36:11 -04:00
sysctl.c
sysctl.h
time.h
types.h
unistr.c
upcase.c ntfs: le*_add_cpu conversion 2008-05-24 09:56:08 -07:00
usnjrnl.c
usnjrnl.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
volume.h