[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <535195AC.1070702@redhat.com>
Date: Fri, 18 Apr 2014 17:14:20 -0400
From: Rik van Riel <riel@...hat.com>
To: Jianyu Zhan <nasa4836@...il.com>, akpm@...ux-foundation.org,
minchan@...nel.org, hannes@...xchg.org, shli@...nel.org,
bob.liu@...cle.com, sjenning@...ux.vnet.ibm.com,
iamjoonsoo.kim@....com, aquini@...hat.com, mgorman@...e.de,
aarcange@...hat.com, khalid.aziz@...cle.com
CC: linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH] mm/swap: cleanup *lru_cache_add* functions
On 04/18/2014 11:39 AM, Jianyu Zhan wrote:
> Hi, Christoph Hellwig,
>
>> There are no modular users of lru_cache_add, so please don't needlessly
>> export it.
>
> yep, I re-checked and found there is no module user of neither
> lru_cache_add() nor lru_cache_add_anon(), so don't export it.
>
> Here is the renewed patch:
> ---
>
> In mm/swap.c, __lru_cache_add() is exported, but actually there are
> no users outside this file. However, lru_cache_add() is supposed to
> be used by vfs, or whatever others, but it is not exported.
>
> This patch unexports __lru_cache_add(), and makes it static.
> It also exports lru_cache_add_file(), as it is use by cifs, which
> be loaded as module.
>
> Signed-off-by: Jianyu Zhan <nasa4836@...il.com>
Acked-by: Rik van Riel <riel@...hat.com>
--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists