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


Groups > linux.kernel > #1424933

Re: [PATCH 22/27] mm: Convert zone_reclaim to node_reclaim

From Vlastimil Babka <vbabka@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 22/27] mm: Convert zone_reclaim to node_reclaim
Date 2016-06-17 13:00 +0200
Message-ID <rKZFg-5tp-7@gated-at.bofh.it> (permalink)
References <rIcyZ-1vR-3@gated-at.bofh.it> <rIcIF-1zJ-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/09/2016 08:04 PM, Mel Gorman wrote:
> As reclaim is now per-node based, convert zone_reclaim to be node_reclaim.
> It is possible that a node will be reclaimed multiple times if it has
> multiple zones but this is unavoidable without caching all nodes traversed
> so far.  The documentation and interface to userspace is the same from
> a configuration perspective and will will be similar in behaviour unless
> the node-local allocation requests were also limited to lower zones.
>
> Signed-off-by: Mel Gorman <mgorman@techsingularity.net>

Acked-by: Vlastimil Babka <vbabka@suse.cz>

[...]

> @@ -682,6 +674,14 @@ typedef struct pglist_data {
>  	 */
>  	unsigned long		totalreserve_pages;
>
> +#ifdef CONFIG_NUMA
> +	/*
> +	 * zone reclaim becomes active if more unmapped pages exist.

            node reclaim

> +	 */
> +	unsigned long		min_unmapped_pages;
> +	unsigned long		min_slab_pages;
> +#endif /* CONFIG_NUMA */
> +
>  	/* Write-intensive fields used from the page allocator */
>  	ZONE_PADDING(_pad1_)
>  	spinlock_t		lru_lock;

[...]

> @@ -3580,7 +3580,7 @@ static inline unsigned long node_unmapped_file_pages(struct pglist_data *pgdat)
>  }
>
>  /* Work out how many page cache pages we can reclaim in this reclaim_mode */
> -static unsigned long zone_pagecache_reclaimable(struct zone *zone)
> +static unsigned long zone_pagecache_reclaimable(struct pglist_data *pgdat)

Rename to node_pagecache_reclaimable?

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 22/27] mm: Convert zone_reclaim to node_reclaim Vlastimil Babka <vbabka@suse.cz> - 2016-06-17 13:00 +0200

csiph-web