File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ dmem_cgroup_calculate_protection(struct dmem_cgroup_pool_state *limit_pool,
280
280
281
281
/**
282
282
* dmem_cgroup_state_evict_valuable() - Check if we should evict from test_pool
283
- * @dev: &dmem_cgroup_region
284
- * @index: The index number of the region being tested.
285
283
* @limit_pool: The pool for which we hit limits
286
284
* @test_pool: The pool for which to test
287
285
* @ignore_low: Whether we have to respect low watermarks.
@@ -610,13 +608,12 @@ EXPORT_SYMBOL_GPL(dmem_cgroup_uncharge);
610
608
611
609
/**
612
610
* dmem_cgroup_try_charge() - Try charging a new allocation to a region.
613
- * @dev: Device to charge
611
+ * @region: dmem region to charge
614
612
* @size: Size (in bytes) to charge.
615
613
* @ret_pool: On succesfull allocation, the pool that is charged.
616
614
* @ret_limit_pool: On a failed allocation, the limiting pool.
617
615
*
618
- * This function charges the current pool for @dev with region at @index for a
619
- * size of @size bytes.
616
+ * This function charges the @region region for a size of @size bytes.
620
617
*
621
618
* If the function succeeds, @ret_pool is set, which must be passed to
622
619
* dmem_cgroup_uncharge() when undoing the allocation.
You can’t perform that action at this time.
0 commit comments