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-2139 osc: Track and limit "unstable" pages
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
user-mem.h
diff --git
a/libcfs/include/libcfs/user-mem.h
b/libcfs/include/libcfs/user-mem.h
index
8ab9c25
..
2ad7fce
100644
(file)
--- a/
libcfs/include/libcfs/user-mem.h
+++ b/
libcfs/include/libcfs/user-mem.h
@@
-70,6
+70,9
@@
void kunmap(struct page *pg);
#define page_cache_get(page) do { } while (0)
#define page_cache_release(page) do { } while (0)
#define page_cache_get(page) do { } while (0)
#define page_cache_release(page) do { } while (0)
+#define inc_zone_page_state(page, state) do {} while (0)
+#define dec_zone_page_state(page, state) do {} while (0)
+
/*
* Memory allocator
* Inline function, so utils can use them without linking of libcfs
/*
* Memory allocator
* Inline function, so utils can use them without linking of libcfs