Re: [PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-03-04 Thread Jason Gunthorpe
On Tue, Mar 02, 2021 at 06:45:49PM -0800, Linus Torvalds wrote: > On Tue, Mar 2, 2021 at 5:47 PM Peter Xu wrote: > > > > As Jason and Wei pointed out, I think some userspace still got corrupted > > data > > without this series when using hugetlb backend. I don't think it'll suite > > for > > a

Re: [PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-03-03 Thread Linus Torvalds
On Tue, Mar 2, 2021 at 5:47 PM Peter Xu wrote: > > As Jason and Wei pointed out, I think some userspace still got corrupted data > without this series when using hugetlb backend. I don't think it'll suite for > a late RC release but it'll still be great if it can be considered as an early > rc

Re: [PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-03-03 Thread Peter Xu
On Mon, Mar 01, 2021 at 04:28:46PM -0800, Andrew Morton wrote: > On Mon, 1 Mar 2021 09:11:51 -0500 Peter Xu wrote: > > > On Wed, Feb 17, 2021 at 06:35:42PM -0500, Peter Xu wrote: > > > v5: > > > - patch 4: change "int cow" into "bool cow" > > > - collect r-bs for Jason > > > > Andrew, > > > >

Re: [PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-03-01 Thread Zhang, Wei
Yes, such user includes libfabric (https://ofiwg.github.io/libfabric/) . which uses hugetlb pages. On 3/1/21, 4:30 PM, "Jason Gunthorpe" wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and

Re: [PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-03-01 Thread Jason Gunthorpe
On Mon, Mar 01, 2021 at 04:28:46PM -0800, Andrew Morton wrote: > On Mon, 1 Mar 2021 09:11:51 -0500 Peter Xu wrote: > > > On Wed, Feb 17, 2021 at 06:35:42PM -0500, Peter Xu wrote: > > > v5: > > > - patch 4: change "int cow" into "bool cow" > > > - collect r-bs for Jason > > > > Andrew, > > > >

Re: [PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-03-01 Thread Andrew Morton
On Mon, 1 Mar 2021 09:11:51 -0500 Peter Xu wrote: > On Wed, Feb 17, 2021 at 06:35:42PM -0500, Peter Xu wrote: > > v5: > > - patch 4: change "int cow" into "bool cow" > > - collect r-bs for Jason > > Andrew, > > I just noticed 5.12-rc1 has released; is this series still possible to make it >

Re: [PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-03-01 Thread Peter Xu
On Wed, Feb 17, 2021 at 06:35:42PM -0500, Peter Xu wrote: > v5: > - patch 4: change "int cow" into "bool cow" > - collect r-bs for Jason Andrew, I just noticed 5.12-rc1 has released; is this series still possible to make it for 5.12, or needs to wait for 5.13? Thanks, -- Peter Xu

[PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-02-17 Thread Peter Xu
v5: - patch 4: change "int cow" into "bool cow" - collect r-bs for Jason v4: - add r-b for Mike on the last patch, add some more commit message explains that why we don't need wr-protect trick - fix one warning of unused var in copy_present_page() [Gal] v3: - rebase to linux-next/akpm, switch