Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751790AbbKQFWx (ORCPT ); Tue, 17 Nov 2015 00:22:53 -0500 Received: from out4133-18.mail.aliyun.com ([42.120.133.18]:50176 "EHLO out4133-18.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750971AbbKQFWw (ORCPT ); Tue, 17 Nov 2015 00:22:52 -0500 X-Greylist: delayed 335 seconds by postgrey-1.27 at vger.kernel.org; Tue, 17 Nov 2015 00:22:51 EST X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e02c03289;MF=hillf.zj@alibaba-inc.com;NM=1;PH=DS;RN=26;SR=0; Reply-To: "Hillf Danton" From: "Hillf Danton" To: "'Yaowei Bai'" , Cc: , , , , , , , , , , , , , , , , , , , , , , , References: <1447656686-4851-1-git-send-email-baiyaowei@cmss.chinamobile.com> <1447656686-4851-6-git-send-email-baiyaowei@cmss.chinamobile.com> In-Reply-To: <1447656686-4851-6-git-send-email-baiyaowei@cmss.chinamobile.com> Subject: Re: [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function Date: Tue, 17 Nov 2015 13:16:37 +0800 Message-ID: <006701d120f7$24aaa870$6dfff950$@alibaba-inc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQLxrJf47IKLOrmgdd3mZv+UOOxM+gJzDgStnEr7/1A= Content-Language: zh-cn Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 39 > > Since commit a0b8cab3 ("mm: remove lru parameter from __pagevec_lru_add > and remove parts of pagevec API") there's no user of this function anymore, > so remove it. > > Signed-off-by: Yaowei Bai > --- Acked-by: Hillf Danton > include/linux/mmzone.h | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h > index e23a9e7..9963846 100644 > --- a/include/linux/mmzone.h > +++ b/include/linux/mmzone.h > @@ -195,11 +195,6 @@ static inline int is_active_lru(enum lru_list lru) > return (lru == LRU_ACTIVE_ANON || lru == LRU_ACTIVE_FILE); > } > > -static inline int is_unevictable_lru(enum lru_list lru) > -{ > - return (lru == LRU_UNEVICTABLE); > -} > - > struct zone_reclaim_stat { > /* > * The pageout code in vmscan.c keeps track of how many of the > -- > 1.9.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/