lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210124035535.GA635475@pek-khao-d2.corp.ad.wrs.com>
Date:   Sun, 24 Jan 2021 11:55:35 +0800
From:   Kevin Hao <haokexin@...il.com>
To:     Jakub Kicinski <kuba@...nel.org>
Cc:     "David S . Miller" <davem@...emloft.net>,
        Andrew Morton <akpm@...ux-foundation.org>,
        netdev@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH net-next 1/4] mm: page_frag: Introduce
 page_frag_alloc_align()

On Sat, Jan 23, 2021 at 12:52:21PM -0800, Jakub Kicinski wrote:
> On Sat, 23 Jan 2021 19:59:00 +0800 Kevin Hao wrote:
> > +void *page_frag_alloc(struct page_frag_cache *nc,
> > +		      unsigned int fragsz, gfp_t gfp_mask)
> > +{
> > +	return page_frag_alloc_align(nc, fragsz, gfp_mask, 0);
> > +}
> >  EXPORT_SYMBOL(page_frag_alloc);
> 
> Isn't it better to make this a static inline now?

Sure. I will also inline the {netdev,napi}_alloc_frag().

> 
> Either way you'll need to repost after net is merged into net-next
> (probably ~this Friday), please mark the posting as RFC before that.

Sorry, I missed that. I will repost after the net is merged into net-next.

> Please make sure you CC the author of the code.

Will do.

Thanks,
Kevin

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ