Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1270879 > unrolled thread

Re: [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function

Started by"Hillf Danton" <hillf.zj@alibaba-inc.com>
First post2015-11-17 06:30 +0100
Last post2015-11-17 06:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2015-11-17 06:30 +0100

#1270879 — Re: [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function

From"Hillf Danton" <hillf.zj@alibaba-inc.com>
Date2015-11-17 06:30 +0100
SubjectRe: [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function
Message-ID<qvH05-Jv-1@gated-at.bofh.it>
> 
> 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 <baiyaowei@cmss.chinamobile.com>
> ---

Acked-by: Hillf Danton <hillf.zj@alibaba-inc.com>

>  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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web