Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Mike Kravetz
On 10/28/2015 02:13 PM, Mike Kravetz wrote: > On 10/28/2015 02:00 PM, Hugh Dickins wrote: >> On Wed, 28 Oct 2015, Mike Kravetz wrote: >>> On 10/27/2015 08:34 PM, Hugh Dickins wrote: >>> >>> Thanks for the detailed response Hugh. I will try to address your questions >>> and provide more reasoning

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Mike Kravetz
On 10/28/2015 02:00 PM, Hugh Dickins wrote: > On Wed, 28 Oct 2015, Mike Kravetz wrote: >> On 10/27/2015 08:34 PM, Hugh Dickins wrote: >> >> Thanks for the detailed response Hugh. I will try to address your questions >> and provide more reasoning behind the use case and need for this code. > >

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Hugh Dickins
On Wed, 28 Oct 2015, Mike Kravetz wrote: > On 10/27/2015 08:34 PM, Hugh Dickins wrote: > > Thanks for the detailed response Hugh. I will try to address your questions > and provide more reasoning behind the use case and need for this code. And thank you for your detailed response, Mike: that

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Mike Kravetz
On 10/27/2015 08:34 PM, Hugh Dickins wrote: > On Tue, 20 Oct 2015, Mike Kravetz wrote: > >> The hugetlbfs fallocate hole punch code can race with page faults. The >> result is that after a hole punch operation, pages may remain within the >> hole. No other side effects of this race were

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Mike Kravetz
On 10/27/2015 08:34 PM, Hugh Dickins wrote: > On Tue, 20 Oct 2015, Mike Kravetz wrote: > >> The hugetlbfs fallocate hole punch code can race with page faults. The >> result is that after a hole punch operation, pages may remain within the >> hole. No other side effects of this race were

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Hugh Dickins
On Wed, 28 Oct 2015, Mike Kravetz wrote: > On 10/27/2015 08:34 PM, Hugh Dickins wrote: > > Thanks for the detailed response Hugh. I will try to address your questions > and provide more reasoning behind the use case and need for this code. And thank you for your detailed response, Mike: that

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Mike Kravetz
On 10/28/2015 02:00 PM, Hugh Dickins wrote: > On Wed, 28 Oct 2015, Mike Kravetz wrote: >> On 10/27/2015 08:34 PM, Hugh Dickins wrote: >> >> Thanks for the detailed response Hugh. I will try to address your questions >> and provide more reasoning behind the use case and need for this code. > >

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Mike Kravetz
On 10/28/2015 02:13 PM, Mike Kravetz wrote: > On 10/28/2015 02:00 PM, Hugh Dickins wrote: >> On Wed, 28 Oct 2015, Mike Kravetz wrote: >>> On 10/27/2015 08:34 PM, Hugh Dickins wrote: >>> >>> Thanks for the detailed response Hugh. I will try to address your questions >>> and provide more reasoning

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-27 Thread Hugh Dickins
On Tue, 20 Oct 2015, Mike Kravetz wrote: > The hugetlbfs fallocate hole punch code can race with page faults. The > result is that after a hole punch operation, pages may remain within the > hole. No other side effects of this race were observed. > > In preparation for adding userfaultfd

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-27 Thread Hugh Dickins
On Tue, 20 Oct 2015, Mike Kravetz wrote: > The hugetlbfs fallocate hole punch code can race with page faults. The > result is that after a hole punch operation, pages may remain within the > hole. No other side effects of this race were observed. > > In preparation for adding userfaultfd

[PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-20 Thread Mike Kravetz
The hugetlbfs fallocate hole punch code can race with page faults. The result is that after a hole punch operation, pages may remain within the hole. No other side effects of this race were observed. In preparation for adding userfaultfd support to hugetlbfs, it is desirable to close the window

[PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-20 Thread Mike Kravetz
The hugetlbfs fallocate hole punch code can race with page faults. The result is that after a hole punch operation, pages may remain within the hole. No other side effects of this race were observed. In preparation for adding userfaultfd support to hugetlbfs, it is desirable to close the window