projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: get 7% more pages in a pagevec
[linux-2.6-microblaze.git]
/
include
/
linux
/
pagevec.h
diff --git
a/include/linux/pagevec.h
b/include/linux/pagevec.h
index
5fb6580
..
6dc456a
100644
(file)
--- a/
include/linux/pagevec.h
+++ b/
include/linux/pagevec.h
@@
-9,14
+9,14
@@
#ifndef _LINUX_PAGEVEC_H
#define _LINUX_PAGEVEC_H
#ifndef _LINUX_PAGEVEC_H
#define _LINUX_PAGEVEC_H
-/* 1
4 pointers + two long's
align the pagevec structure to a power of two */
-#define PAGEVEC_SIZE 1
4
+/* 1
5 pointers + header
align the pagevec structure to a power of two */
+#define PAGEVEC_SIZE 1
5
struct page;
struct address_space;
struct pagevec {
struct page;
struct address_space;
struct pagevec {
- unsigned
long
nr;
+ unsigned
char
nr;
bool percpu_pvec_drained;
struct page *pages[PAGEVEC_SIZE];
};
bool percpu_pvec_drained;
struct page *pages[PAGEVEC_SIZE];
};