]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: mdesc: use __GFP_REPEAT action modifier for VM allocation
authorJag Raman <jag.raman@oracle.com>
Fri, 23 Jun 2017 18:58:33 +0000 (14:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 20:43:12 +0000 (13:43 -0700)
commit0ab2fcd69dbf1dad27a7cee0f608b48690134ced
tree66f864d5d0ca29c0dc1c9317f684dc3f1deb745a
parent411cb4a0b3b12833731abc71059a7eeb04dc8477
sparc64: mdesc: use __GFP_REPEAT action modifier for VM allocation

During MDESC handle allocation, use the __GFP_REPEAT flag instead of
__GFP_NOFAIL. If memory is not available, the caller expects a NULL
pointer instead of waiting until memory is allocated.

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/mdesc.c