Commit c21a803d authored by woojoong.lee's avatar woojoong.lee Committed by Mitchel Humpherys
Browse files

cma : use migrate_prep() instead of migrate_prep_local()



__alloc_contig_migrate_range() should use all possible ways to get all the
pages migrated from the given memory range, so pruning per-cpu lru lists
for all CPUs is required, regadless the cost of such operation. Otherwise
some pages which got stuck at per-cpu lru list might get missed by
migration procedure causing the contiguous allocation to fail.

Change-Id: I70cc0864c57dd49e89f57797122a3fd0f300647a
Signed-off-by: default avatarwoojoong.lee <woojoong.lee@samsung.com>
Reviewed-on: http://165.213.202.130:8080/43063


Tested-by: default avatarSystem S/W SCM <scm.systemsw@samsung.com>
Reviewed-by: default avatardaeho jeong <daeho.jeong@samsung.com>
Reviewed-by: default avatarJeong-Ho Kim <jammer@samsung.com>
Tested-by: default avatarJeong-Ho Kim <jammer@samsung.com>
[lauraa@codeaurora.org: Applied to correct file]
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 926c5240
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment