Messages in this thread | | | Date | Mon, 31 Oct 2022 13:14:51 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v1] mm/gup: disallow FOLL_FORCE|FOLL_WRITE on hugetlb mappings |
| |
On Mon, Oct 31, 2022 at 04:25:24PM +0100, David Hildenbrand wrote: > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Mike Kravetz <mike.kravetz@oracle.com> > Cc: Peter Xu <peterx@redhat.com> > Cc: John Hubbard <jhubbard@nvidia.com> > Cc: Jason Gunthorpe <jgg@nvidia.com> > Reported-by: syzbot+f0b97304ef90f0d0b1dc@syzkaller.appspotmail.com > Signed-off-by: David Hildenbrand <david@redhat.com> > --- > > I assume this has been broken at least since 2014, when mm/gup.c came to > life. I failed to come up with a suitable Fixes tag quickly.
I'm worried this would break RDMA over hugetlbfs maps - which is a real thing people do.
MikeK do you have test cases?
Jason
| |