mm: get rid of pagevec_release_nonlru()
speculative page references patch (commit:
e286781d5f
) removed last
pagevec_release_nonlru() caller.
So this function can be removed now.
This patch doesn't have any functional change.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
5594c8c813
commit
1b0bd11886
@@ -21,7 +21,6 @@ struct pagevec {
|
||||
};
|
||||
|
||||
void __pagevec_release(struct pagevec *pvec);
|
||||
void __pagevec_release_nonlru(struct pagevec *pvec);
|
||||
void __pagevec_free(struct pagevec *pvec);
|
||||
void ____pagevec_lru_add(struct pagevec *pvec, enum lru_list lru);
|
||||
void pagevec_strip(struct pagevec *pvec);
|
||||
@@ -69,12 +68,6 @@ static inline void pagevec_release(struct pagevec *pvec)
|
||||
__pagevec_release(pvec);
|
||||
}
|
||||
|
||||
static inline void pagevec_release_nonlru(struct pagevec *pvec)
|
||||
{
|
||||
if (pagevec_count(pvec))
|
||||
__pagevec_release_nonlru(pvec);
|
||||
}
|
||||
|
||||
static inline void pagevec_free(struct pagevec *pvec)
|
||||
{
|
||||
if (pagevec_count(pvec))
|
||||
|
Reference in New Issue
Block a user