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


Groups > linux.kernel > #1229816

Re: [PATCH 3/3] mm/compaction: add an is_via_compact_memory helper function

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] mm/compaction: add an is_via_compact_memory helper function
Date 2015-09-22 01:10 +0200
Message-ID <qbinD-4dy-15@gated-at.bofh.it> (permalink)
References <q9jQR-4b3-3@gated-at.bofh.it> <q9jQS-4b3-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 16 Sep 2015, Yaowei Bai wrote:

> Introduce is_via_compact_memory helper function indicating compacting
> via /proc/sys/vm/compact_memory to improve readability.
> 
> To catch this situation in __compaction_suitable, use order as parameter
> directly instead of using struct compact_control.
> 
> This patch has no functional changes.
> 
> Signed-off-by: Yaowei Bai <bywxiaobai@163.com>

Acked-by: David Rientjes <rientjes@google.com>

Thanks for doing these cleanups!
--
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/

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


Thread

[PATCH 3/3] mm/compaction: add an is_via_compact_memory helper function Yaowei Bai <bywxiaobai@163.com> - 2015-09-16 14:20 +0200
  Re: [PATCH 3/3] mm/compaction: add an is_via_compact_memory helper  function Michal Hocko <mhocko@kernel.org> - 2015-09-21 18:20 +0200
  Re: [PATCH 3/3] mm/compaction: add an is_via_compact_memory helper  function David Rientjes <rientjes@google.com> - 2015-09-22 01:10 +0200
  Re: [PATCH 3/3] mm/compaction: add an is_via_compact_memory helper  function Vlastimil Babka <vbabka@suse.cz> - 2015-09-23 18:50 +0200

csiph-web