git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
linux
/
pagevec.h
diff --git
a/include/linux/pagevec.h
b/include/linux/pagevec.h
index
e6e43ce
..
def32c5
100644
(file)
--- a/
include/linux/pagevec.h
+++ b/
include/linux/pagevec.h
@@
-5,14
+5,15
@@
* pages. A pagevec is a multipage container which is used for that.
*/
* pages. A pagevec is a multipage container which is used for that.
*/
-#define PAGEVEC_SIZE 16
+/* 14 pointers + two long's align the pagevec structure to a power of two */
+#define PAGEVEC_SIZE 14
struct page;
struct address_space;
struct pagevec {
struct page;
struct address_space;
struct pagevec {
- unsigned nr;
-
int
cold;
+ unsigned
long
nr;
+
unsigned long
cold;
struct page *pages[PAGEVEC_SIZE];
};
struct page *pages[PAGEVEC_SIZE];
};