Re: [PATCH v4 17/45] init: kmsan: call KMSAN initialization routines

From: Marco Elver
Date: Wed Aug 03 2022 - 05:09:35 EST


On Tue, 2 Aug 2022 at 22:08, Alexander Potapenko <glider@xxxxxxxxxx> wrote:
>
> On Tue, Jul 12, 2022 at 4:05 PM Marco Elver <elver@xxxxxxxxxx> wrote:
> >
>
> > > +/**
> > > + * kmsan_task_exit() - Notify KMSAN that a task has exited.
> > > + * @task: task about to finish.
> > > + */
> > > +void kmsan_task_exit(struct task_struct *task);
> >
> > Something went wrong with patch shuffling here I think,
> > kmsan_task_create + kmsan_task_exit decls are duplicated by this
> > patch.
> Right, I've messed it up. Will fix.
>
> > > +
> > > +struct page_pair {
> >
> > 'struct shadow_origin_pages' for a more descriptive name?
> How about "metadata_page_pair"?

Sure - this is local anyway, but page_pair was too generic.