Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-12355 llite: totalram_pages changed to atomic_long_t
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
linux
/
linux-tracefile.c
diff --git
a/libcfs/libcfs/linux/linux-tracefile.c
b/libcfs/libcfs/linux/linux-tracefile.c
index
bb776a7
..
3bdfab4
100644
(file)
--- a/
libcfs/libcfs/linux/linux-tracefile.c
+++ b/
libcfs/libcfs/linux/linux-tracefile.c
@@
-305,7
+305,7
@@
void cfs_print_to_console(struct ptldebug_header *hdr, int mask,
int cfs_trace_max_debug_mb(void)
{
- int total_mb = (
totalram_pages
>> (20 - PAGE_SHIFT));
+ int total_mb = (
cfs_totalram_pages()
>> (20 - PAGE_SHIFT));
return MAX(512, (total_mb * 80)/100);
}