Files
android_kernel_xiaomi_sm8450/include/linux
Vlastimil Babka cf378319d3 mm, compaction: rename COMPACT_PARTIAL to COMPACT_SUCCESS
COMPACT_PARTIAL has historically meant that compaction returned after
doing some work without fully compacting a zone.  It however didn't
distinguish if compaction terminated because it succeeded in creating
the requested high-order page.  This has changed recently and now we
only return COMPACT_PARTIAL when compaction thinks it succeeded, or the
high-order watermark check in compaction_suitable() passes and no
compaction needs to be done.

So at this point we can make the return value clearer by renaming it to
COMPACT_SUCCESS.  The next patch will remove some redundant tests for
success where compaction just returned COMPACT_SUCCESS.

Link: http://lkml.kernel.org/r/20160810091226.6709-4-vbabka@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Tested-by: Lorenzo Stoakes <lstoakes@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-10-07 18:46:27 -07:00
..
2016-09-10 17:31:39 +05:30
2016-10-03 23:22:47 -04:00
2016-07-08 16:23:11 +02:00
2016-08-16 09:16:51 -06:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-08-16 09:16:51 -06:00
2016-06-07 13:41:38 -06:00
2016-09-29 01:35:35 -04:00
2016-08-11 09:41:35 -06:00
2016-06-25 09:04:48 -07:00
2016-08-02 19:35:24 -04:00
2016-06-07 13:41:38 -06:00
2016-05-17 15:48:12 -04:00
2016-09-01 11:11:59 +02:00
2016-05-29 18:35:12 -04:00
2016-06-27 12:26:08 -07:00
2016-07-22 09:07:02 +02:00
2016-09-24 10:48:18 +02:00
2016-03-22 15:36:02 -07:00
2016-09-20 23:20:32 +02:00
2016-05-11 22:37:54 +02:00
2016-03-22 15:36:02 -07:00
2016-09-22 14:53:45 +02:00
2016-03-22 15:36:02 -07:00
2016-09-15 16:49:39 +02:00
2016-09-14 12:57:43 -07:00
2016-09-27 12:33:47 +02:00
2016-09-14 21:28:09 +02:00
2016-08-04 10:16:55 +09:30
2016-07-29 12:17:52 -07:00
2016-07-12 19:25:38 -07:00
2016-08-28 23:32:41 -04:00
2016-06-03 19:37:21 -04:00
2016-05-17 15:47:55 -04:00
2016-04-25 15:09:11 -04:00
2016-05-02 09:00:56 -05:00
2016-07-12 19:25:38 -07:00
2016-09-08 15:01:10 -07:00
2016-09-08 15:01:10 -07:00
2016-07-06 10:51:14 +01:00
2016-09-20 04:43:36 -04:00
2016-03-22 15:36:02 -07:00
2016-07-26 16:19:19 -07:00
2016-09-08 22:15:25 -07:00
2016-06-14 10:54:40 -07:00
2016-09-22 01:34:20 -04:00
2016-09-06 18:30:20 +02:00
2016-08-28 23:44:55 -04:00
2016-05-08 23:46:14 -04:00
2016-09-21 00:23:00 -04:00
2016-06-20 12:47:15 -07:00
2016-07-19 17:43:38 +03:00
2016-05-23 17:04:14 -07:00
2016-04-07 16:53:29 -04:00
2016-09-17 14:05:30 -07:00
2016-07-26 16:19:19 -07:00
2016-05-20 17:58:30 -07:00
2016-06-25 09:04:48 -07:00
2016-09-30 10:54:03 +02:00