mm: export a function to get vm committed memory
[linux-2.6-block.git] / include / linux / mman.h
index d09dde1e57fb43e2f5be170d31e8fceb8c41a389..9aa863da287fedf383f3c507c287aa220cbd6a86 100644 (file)
@@ -11,6 +11,8 @@ extern int sysctl_overcommit_memory;
 extern int sysctl_overcommit_ratio;
 extern struct percpu_counter vm_committed_as;
 
+unsigned long vm_memory_committed(void);
+
 static inline void vm_acct_memory(long pages)
 {
        percpu_counter_add(&vm_committed_as, pages);