]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/vhost/vsock.c
mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful semantic
[mirror_ubuntu-jammy-kernel.git] / drivers / vhost / vsock.c
index 3f63e03de8e8099f1a4c1c23b5d5fdfe7eaca634..c9de9c41aa9769863e8164ec90478292f52532ba 100644 (file)
@@ -508,7 +508,7 @@ static int vhost_vsock_dev_open(struct inode *inode, struct file *file)
        /* This struct is large and allocation could fail, fall back to vmalloc
         * if there is no other way.
         */
-       vsock = kvmalloc(sizeof(*vsock), GFP_KERNEL | __GFP_REPEAT);
+       vsock = kvmalloc(sizeof(*vsock), GFP_KERNEL | __GFP_RETRY_MAYFAIL);
        if (!vsock)
                return -ENOMEM;