lkml.org 
[lkml]   [2007]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [-mm patch] make do_try_to_free_pages() static
Adrian Bunk wrote:
> On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote:
>> ...
>> Changes since 2.6.23-rc3-mm1:
>> ...
>> +memory-controller-add-per-container-lru-and-reclaim-v7.patch
>> ...
>> memory containment
>> ...
>
> do_try_to_free_pages() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
> 23781fa6792c518c8581ceeaf08db251574e8430
> diff --git a/mm/vmscan.c b/mm/vmscan.c
> index b34b29d..9104cf8 100644
> --- a/mm/vmscan.c
> +++ b/mm/vmscan.c
> @@ -1248,8 +1248,8 @@ static unsigned long shrink_zones(int priority, struct zone **zones,
> * holds filesystem locks which prevent writeout this might not work, and the
> * allocation attempt will fail.
> */
> -unsigned long do_try_to_free_pages(struct zone **zones, gfp_t gfp_mask,
> - struct scan_control *sc)
> +static unsigned long do_try_to_free_pages(struct zone **zones, gfp_t gfp_mask,
> + struct scan_control *sc)
> {
> int priority;
> int ret = 0;
>

Thanks, looks good!

--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
-
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/

\
 
 \ /
  Last update: 2007-09-10 10:27    [W:0.693 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site