diff options
author | Minchan Kim <[email protected]> | 2012-10-08 16:33:48 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-10-09 16:23:00 +0900 |
commit | e46a28790e594c0876d1a84270926abf75460f61 (patch) | |
tree | febfaa6c20dab69490308190729f1d898e4df930 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
parent | 7a71932d5676b7410ab64d149bad8bde6b0d8632 (diff) |
CMA: migrate mlocked pages
Presently CMA cannot migrate mlocked pages so it ends up failing to allocate
contiguous memory space.
This patch makes mlocked pages be migrated out. Of course, it can affect
realtime processes but in CMA usecase, contiguous memory allocation failing
is far worse than access latency to an mlocked page being variable while
CMA is running. If someone wants to make the system realtime, he shouldn't
enable CMA because stalls can still happen at random times.
[[email protected]: tweak comment text, per Mel]
Signed-off-by: Minchan Kim <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Cc: Bartlomiej Zolnierkiewicz <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions