Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-18 Thread Mike Kravetz
On 04/17/2015 10:11 AM, Mike Kravetz wrote: On 04/17/2015 12:10 AM, Hillf Danton wrote: Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen Signed-off-by: Mike Kravetz --- mm/madvise.c | 2 +- 1 file

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-18 Thread Mike Kravetz
On 04/17/2015 10:11 AM, Mike Kravetz wrote: On 04/17/2015 12:10 AM, Hillf Danton wrote: Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen dave.han...@linux.intel.com Signed-off-by: Mike Kravetz

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-17 Thread Mike Kravetz
On 04/17/2015 12:10 AM, Hillf Danton wrote: Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen Signed-off-by: Mike Kravetz --- mm/madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-17 Thread Mike Kravetz
On 04/16/2015 11:44 PM, Christoph Hellwig wrote: On Thu, Apr 16, 2015 at 04:02:58PM -0700, Mike Kravetz wrote: Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Meh. Just use fallocate for any new code.. I don't have the complete

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-17 Thread Hillf Danton
> > Now that we have hole punching support for hugetlbfs, we can > also support the MADV_REMOVE interface to it. > > Signed-off-by: Dave Hansen > Signed-off-by: Mike Kravetz > --- > mm/madvise.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/madvise.c

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-17 Thread Christoph Hellwig
On Thu, Apr 16, 2015 at 04:02:58PM -0700, Mike Kravetz wrote: > Now that we have hole punching support for hugetlbfs, we can > also support the MADV_REMOVE interface to it. Meh. Just use fallocate for any new code.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-17 Thread Hillf Danton
Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen dave.han...@linux.intel.com Signed-off-by: Mike Kravetz mike.krav...@oracle.com --- mm/madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-17 Thread Christoph Hellwig
On Thu, Apr 16, 2015 at 04:02:58PM -0700, Mike Kravetz wrote: Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Meh. Just use fallocate for any new code.. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-17 Thread Mike Kravetz
On 04/17/2015 12:10 AM, Hillf Danton wrote: Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen dave.han...@linux.intel.com Signed-off-by: Mike Kravetz mike.krav...@oracle.com --- mm/madvise.c | 2 +- 1 file

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-17 Thread Mike Kravetz
On 04/16/2015 11:44 PM, Christoph Hellwig wrote: On Thu, Apr 16, 2015 at 04:02:58PM -0700, Mike Kravetz wrote: Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Meh. Just use fallocate for any new code.. I don't have the complete

[RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-16 Thread Mike Kravetz
Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen Signed-off-by: Mike Kravetz --- mm/madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/madvise.c b/mm/madvise.c index

[RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-16 Thread Mike Kravetz
Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen dave.han...@linux.intel.com Signed-off-by: Mike Kravetz mike.krav...@oracle.com --- mm/madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git