mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Revert "mm: only drain per-cpu pagevecs once per pagevec usage"
This reverts commit 8fbf24ee0ee3486e8985c4b963c2bc83c9e74d1c.
This commit is contained in:
parent
2c5929ae4f
commit
c5bdec1129
@ -17,8 +17,7 @@ struct address_space;
|
||||
|
||||
struct pagevec {
|
||||
unsigned long nr;
|
||||
bool cold;
|
||||
bool drained;
|
||||
unsigned long cold;
|
||||
struct page *pages[PAGEVEC_SIZE];
|
||||
};
|
||||
|
||||
@ -55,7 +54,6 @@ static inline void pagevec_init(struct pagevec *pvec, int cold)
|
||||
{
|
||||
pvec->nr = 0;
|
||||
pvec->cold = cold;
|
||||
pvec->drained = false;
|
||||
}
|
||||
|
||||
static inline void pagevec_reinit(struct pagevec *pvec)
|
||||
|
Loading…
x
Reference in New Issue
Block a user