Re: [PATCH 2/5] uprobes: Introduce __create_xol_area()

From: Srikar Dronamraju
Date: Wed Oct 16 2013 - 08:50:34 EST


>
> >
> > /* Slot allocation for XOL */
> > -static int xol_add_vma(struct xol_area *area)
> > +static int xol_add_vma(struct mm_struct *mm, struct xol_area *area)
> > {
> > - struct mm_struct *mm = current->mm;
> > int ret = -EALREADY;
> >
> > down_write(&mm->mmap_sem);
> > if (mm->uprobes_state.xol_area)
> > goto fail;
> >
> > - ret = -ENOMEM;
> > - /* Try to map as high as possible, this is only a hint. */
> > + /* Try to map as high as possible, this is only a hint. */
>
> Nit: This comment seems to be shifted unnecessarily.
>

This gets corrected in the next patch.. Sorry for the noise.

--
Thanks and Regards
Srikar Dronamraju

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/