|
|
@@ -96,13 +96,8 @@ static struct page *brd_insert_page(struct brd_device *brd, sector_t sector)
|
|
|
/*
|
|
|
* Must use NOIO because we don't want to recurse back into the
|
|
|
* block or filesystem layers from page reclaim.
|
|
|
- *
|
|
|
- * Cannot support DAX and highmem, because our ->direct_access
|
|
|
- * routine for DAX must return memory that is always addressable.
|
|
|
- * If DAX was reworked to use pfns and kmap throughout, this
|
|
|
- * restriction might be able to be lifted.
|
|
|
*/
|
|
|
- gfp_flags = GFP_NOIO | __GFP_ZERO;
|
|
|
+ gfp_flags = GFP_NOIO | __GFP_ZERO | __GFP_HIGHMEM;
|
|
|
page = alloc_page(gfp_flags);
|
|
|
if (!page)
|
|
|
return NULL;
|