Relax allocations requirements
CAS does not need atomic alocations virtually anywhere. GFP_NOIO should be sufficient in IO path. When allocation buffers during module initialization use GFP_KERNEL. Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
|
||||
#define ENV_MEM_NORMAL GFP_KERNEL
|
||||
#define ENV_MEM_NOIO GFP_NOIO
|
||||
#define ENV_MEM_ATOMIC GFP_ATOMIC
|
||||
|
||||
static inline uint64_t env_get_free_memory(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user