The might_sleep_if(gfp_mask & __GFP_DIRECT_RECLAIM) in the mempool_alloc function uses __GFP_DIRECT_RECLAIM.