On Tue 07-08-18 20:23:55, Florian Westphal wrote:
> Michal Hocko <[email protected]> wrote:
> > Subject: [PATCH] netfilter/x_tables: do not fail xt_alloc_table_info too
> >  easilly
> 
> [..]
> 
> > -   /* __GFP_NORETRY is not fully supported by kvmalloc but it should
> > -    * work reasonably well if sz is too large and bail out rather
> > -    * than shoot all processes down before realizing there is nothing
> > -    * more to reclaim.
> > -    */
> > -   info = kvmalloc(sz, GFP_KERNEL | __GFP_NORETRY);
> > +   info = kvmalloc(sz, GFP_KERNEL | __GFP_ACCOUNT);
> >     if (!info)
> >             return NULL;
> 
> Acked-by: Florian Westphal <[email protected]>
> 
> You can keep this acked-by in case you mangle this patch in a minor
> way such as using GFP_KERNEL_ACCOUNT.

Thanks!

-- 
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to