Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1441630
| From | Johannes Weiner <hannes@cmpxchg.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 26/34] mm, vmscan: avoid passing in remaining unnecessarily to prepare_kswapd_sleep |
| Date | 2016-07-12 20:10 +0200 |
| Message-ID | <rUai5-8w1-1@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 |
On Fri, Jul 08, 2016 at 10:35:02AM +0100, 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: Johannes Weiner <hannes@cmpxchg.org>
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 26/34] mm, vmscan: avoid passing in remaining unnecessarily to prepare_kswapd_sleep Johannes Weiner <hannes@cmpxchg.org> - 2016-07-12 20:10 +0200
csiph-web