|
@@ -1758,8 +1758,9 @@ static void free_pg_vec(char **pg_vec, unsigned int order, unsigned int len)
|
|
|
|
|
|
static inline char *alloc_one_pg_vec_page(unsigned long order)
|
|
static inline char *alloc_one_pg_vec_page(unsigned long order)
|
|
{
|
|
{
|
|
- return (char *) __get_free_pages(GFP_KERNEL | __GFP_COMP | __GFP_ZERO,
|
|
|
|
- order);
|
|
|
|
|
|
+ gfp_t gfp_flags = GFP_KERNEL | __GFP_COMP | __GFP_ZERO | __GFP_NOWARN;
|
|
|
|
+
|
|
|
|
+ return (char *) __get_free_pages(gfp_flags, order);
|
|
}
|
|
}
|
|
|
|
|
|
static char **alloc_pg_vec(struct tpacket_req *req, int order)
|
|
static char **alloc_pg_vec(struct tpacket_req *req, int order)
|