Okay. Please see sb_bread(), sb_getblk(), __getblk() and __bread() in> >Although it's separate issue, I should mentioned one thing. Related to>
> >I/O pinning issue, ZONE_CMA don't get blockdev allocation request so
> >I/O pinning problem is much reduced.
> >
>This is not super-clear from the patch. blockdev is using GFP_USER so it
>already should not be classed as MOVABLE. I could easily be looking in
>the wrong place or missed which allocation path sets GFP_MOVABLE.
include/linux/buffer_head.h. These are main functions used by blockdev
and they uses GFP_MOVABLE. To fix permanent allocation case which is
used by mount and cannot be released until umount, Gioh introduces
sb_bread_unmovable() but there are many remaining issues that prevent
migration at the moment and avoid blockdev allocation from CMA area is
preferable approach.