linux/drivers/staging/unisys
Hariprasad Kelam 2a8af420e7 staging: unisys: visornic: Replace GFP_ATOMIC with GFP_KERNEL
As per below information

GFP_KERNEL  FLAG

This is a normal allocation and might block. This is the flag to use in
process context code when it is safe to sleep.

GFP_ATOMIC FLAG

The allocation is high-priority and does not sleep. This is the flag to
use in interrupt handlers, bottom halves and other situations where you
cannot sleep

And we can take advantage of GFP_KERNEL , as when system is in low
memory chances of getting success is high compared to GFP_ATOMIC.

As visornic_probe is in  process context we can use GPF_KERNEL.

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-23 09:23:15 +02:00
..
Documentation staging: unisys: Switch to use new generic UUID API 2017-08-22 14:56:03 -07:00
include Staging: unisys: Correct malformed SPDX-License-Identifier 2019-03-20 10:43:49 +01:00
visorhba staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
visorinput staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
visornic staging: unisys: visornic: Replace GFP_ATOMIC with GFP_KERNEL 2019-05-23 09:23:15 +02:00
Kconfig staging: unisys: use help instead of ---help--- in Kconfig 2019-05-20 10:49:07 +02:00
MAINTAINERS staging: unisys: Fix incorrect unisys MAINTAINERS pattern 2017-11-02 11:45:57 +01:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO