Re: [PATCH 3/3] net/xdp: convert put_page() to put_user_page*()

From: Jason Gunthorpe
Date: Tue Jul 23 2019 - 08:47:11 EST


On Mon, Jul 22, 2019 at 09:41:34PM -0700, John Hubbard wrote:

> * The leading underscores are often used for the more elaborate form of the
> call (as oppposed to decorating the core function name with "_flags", for
> example).

IMHO usually the __ version of a public symbol means something like
'why are you using this? you probably should not'

Often because the __ version has no locking or some other dangerous
configuration like that.

Jason