Message ID | 20200916022138.16740-1-yanfei.xu@windriver.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] mm/page_alloc.c: __perform_reclaim should return 'unsigned long' | expand |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index fab5e97dc9ca..9c985b0c316c 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4241,13 +4241,12 @@ EXPORT_SYMBOL_GPL(fs_reclaim_release); #endif /* Perform direct synchronous page reclaim */ -static int +static unsigned long __perform_reclaim(gfp_t gfp_mask, unsigned int order, const struct alloc_context *ac) { - int progress; unsigned int noreclaim_flag; - unsigned long pflags; + unsigned long pflags, progress; cond_resched();