Re: [PATCH 4.14,4.19] mips,s390,sh,sparc: gup: Work around the "COW can break either way" issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 24, 2022 at 7:23 AM Greg KH <greg@xxxxxxxxx> wrote:
>
> On Mon, Jan 24, 2022 at 04:11:18PM +0100, Ben Hutchings wrote:
> > In Linux 4.14 and 4.19 these architectures still have their own
> > implementations of get_user_pages_fast().  These also need to force
> > the write flag on when taking the fast path.
> >
> > Fixes: 407faed92b4a ("gup: document and work around "COW can break either way" issue")
> > Fixes: 5e24029791e8 ("gup: document and work around "COW can break either way" issue")
> > Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
> > ---
> >  arch/mips/mm/gup.c  | 9 ++++++++-
> >  arch/s390/mm/gup.c  | 9 ++++++++-
> >  arch/sh/mm/gup.c    | 9 ++++++++-
> >  arch/sparc/mm/gup.c | 9 ++++++++-
> >  4 files changed, 32 insertions(+), 4 deletions(-)
>
> Thanks, now queued up.

Thanks for catching this. I completely missed the extra uses in the
previous versions.

>
> greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux