|
@@ -44,9 +44,9 @@ static void dmabuf_page_pool_add(struct dmabuf_page_pool *pool, struct page *pag
|
|
|
mutex_lock(&pool->mutex);
|
|
|
list_add_tail(&page->lru, &pool->items[index]);
|
|
|
pool->count[index]++;
|
|
|
- mutex_unlock(&pool->mutex);
|
|
|
mod_node_page_state(page_pgdat(page), NR_KERNEL_MISC_RECLAIMABLE,
|
|
|
1 << pool->order);
|
|
|
+ mutex_unlock(&pool->mutex);
|
|
|
}
|
|
|
|
|
|
static struct page *dmabuf_page_pool_remove(struct dmabuf_page_pool *pool, int index)
|