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


Groups > linux.kernel > #1443424

Re: [PATCH 26/34] mm, vmscan: avoid passing in remaining unnecessarily to prepare_kswapd_sleep

From Vlastimil Babka <vbabka@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 26/34] mm, vmscan: avoid passing in remaining unnecessarily to prepare_kswapd_sleep
Date 2016-07-14 14:50 +0200
Message-ID <rUOfw-1kh-35@gated-at.bofh.it> (permalink)
References <rSAqm-2Tv-3@gated-at.bofh.it> <rSAA2-2Xn-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/08/2016 11:35 AM, Mel Gorman wrote:
> As pointed out by Minchan Kim, the first call to prepare_kswapd_sleep
> always passes in 0 for remaining and the second call can trivially
> check the parameter in advance.
>
> Suggested-by: Minchan Kim <minchan@kernel.org>
> Signed-off-by: Mel Gorman <mgorman@techsingularity.net>

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

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


Thread

Re: [PATCH 26/34] mm, vmscan: avoid passing in remaining  unnecessarily to prepare_kswapd_sleep Vlastimil Babka <vbabka@suse.cz> - 2016-07-14 14:50 +0200

csiph-web