> > + if (!usemap) {
> > + pr_err("%s: usemap allocation failed", __func__);
>
> Wondering if we can provide more useful information for better debugging
> if failed. E.g here tell on what nid the usemap allocation failed.
>
> > + pnum, nid);
> > + if (!map) {
> > + pr_err("%s: memory map backing failed. Some memory
> > will not be available.",
> > + __func__);
> And here tell nid and the memory section nr failed.
Sure, I will wait for more comments, if any, and add more info to the
error messages in the next revision.
Thank you,
Pavel