[Devel] [PATCH RHEL7 COMMIT] rdma/i40iw: use proper GFP flag for hiding high-order-allocation warning
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Oct 31 13:13:43 MSK 2019
The commit is pushed to "branch-rh7-3.10.0-1062.4.1.vz7.115.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1062.4.1.vz7.115.5
------>
commit 8c57235f84935a976bd99f883b1e9790ea33b955
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Thu Oct 31 13:10:09 2019 +0300
rdma/i40iw: use proper GFP flag for hiding high-order-allocation warning
We use a special flag for supressing high order pages
allocation - __GFP_ORDER_NOWARN, so use it instead of
generic __GFP_NOWARN.
Fixes: f2d4fc9469f8 ("rdma/i40iw: hide high-order-allocation
warning in i40iw_save_msix_info()")
https://pmc.acronis.com/browse/VSTOR-27273
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
drivers/infiniband/hw/i40iw/i40iw_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/i40iw/i40iw_main.c b/drivers/infiniband/hw/i40iw/i40iw_main.c
index 8b3b5d95d12f..46e1523c2b28 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_main.c
+++ b/drivers/infiniband/hw/i40iw/i40iw_main.c
@@ -1439,7 +1439,7 @@ static enum i40iw_status_code i40iw_save_msix_info(struct i40iw_device *iwdev,
size = sizeof(struct i40iw_msix_vector) * iwdev->msix_count;
size += sizeof(struct i40e_qvlist_info);
size += sizeof(struct i40e_qv_info) * iwdev->msix_count - 1;
- iwdev->iw_msixtbl = kzalloc(size, GFP_KERNEL | __GFP_NOWARN);
+ iwdev->iw_msixtbl = kzalloc(size, GFP_KERNEL | __GFP_ORDER_NOWARN);
if (!iwdev->iw_msixtbl)
return I40IW_ERR_NO_MEMORY;
More information about the Devel
mailing list