On Tue, Nov 03, 2020 at 04:19:11AM +0100, Jann Horn wrote:...
On Tue, Nov 3, 2020 at 3:11 AM Jann Horn <jannh@xxxxxxxxxx> wrote:
On Sat, Oct 17, 2020 at 2:30 AM Jann Horn <jannh@xxxxxxxxxx> wrote:
On Sat, Oct 17, 2020 at 1:21 AM Jason Gunthorpe <jgg@xxxxxxxx> wrote:
On Sat, Oct 17, 2020 at 01:09:12AM +0200, Jann Horn wrote:
Currently, mm_struct has two refcounts:
Either way can work, I liked the suggestion because it suggests an
good name for the ref: 'mmget_pgd' or somesuch
What I don't like is how nonsensical the names here are becoming:
mmget/mmgrab/mm_ref
Gives no impression at the callsite what is right/wrong
Names like this:
mmget_struct
mmget_pgd
mmget_tables
Make alot more sense to me..
I think this patch needs to do something about the naming..