From: Andrea Arcangeli <aarcange@redhat.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: "Jason J. Herne" <jjherne@linux.vnet.ibm.com>,
linux-s390@vger.kernel.org, linux-mm@kvack.org,
KVM list <kvm@vger.kernel.org>
Subject: Re: [PATCH] mm: Loosen MADV_NOHUGEPAGE to enable Qemu postcopy on s390
Date: Wed, 11 Nov 2015 21:42:34 +0100 [thread overview]
Message-ID: <20151111204234.GI4573@redhat.com> (raw)
In-Reply-To: <56439B56.1090105@de.ibm.com>
On Wed, Nov 11, 2015 at 08:47:34PM +0100, Christian Borntraeger wrote:
> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Who is going to take this patch? If I should take the patch, I need an
> ACK from the memory mgmt folks.
I would suggest to resend in CC to Andrew to merge in -mm after taking
care of the below, as it's a mm common code part.
>
> Christian
>
>
> >> ---
> >> mm/huge_memory.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/mm/huge_memory.c b/mm/huge_memory.c
> >> index c29ddeb..a8b5347 100644
> >> --- a/mm/huge_memory.c
> >> +++ b/mm/huge_memory.c
> >> @@ -2025,7 +2025,7 @@ int hugepage_madvise(struct vm_area_struct *vma,
> >> /*
> >> * Be somewhat over-protective like KSM for now!
> >> */
> >> - if (*vm_flags & (VM_NOHUGEPAGE | VM_NO_THP))
> >> + if (*vm_flags & VM_NO_THP)
> >> return -EINVAL;
> >> *vm_flags &= ~VM_HUGEPAGE;
> >> *vm_flags |= VM_NOHUGEPAGE;
If we make this change the MADV_HUGEPAGE must be taken care of too or
it doesn't make sense to threat them differently.
After taking care of the MADV_HUGEPAGE you can add my reviewed-by when
you resubmit to Andrew.
Thanks,
Andrea
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2015-11-11 20:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 15:35 [PATCH] mm: Loosen MADV_NOHUGEPAGE to enable Qemu postcopy on s390 Jason J. Herne
2015-11-11 17:30 ` Andrea Arcangeli
2015-11-11 19:47 ` Christian Borntraeger
2015-11-11 20:42 ` Andrea Arcangeli [this message]
2015-11-11 20:01 ` Christian Borntraeger
2015-11-11 20:37 ` Andrea Arcangeli
-- strict thread matches above, loose matches on Subject: below --
2015-11-12 15:18 Jason J. Herne
2015-11-12 16:45 ` Christian Borntraeger
2015-11-13 22:58 ` David Rientjes
2015-11-18 13:31 ` Vlastimil Babka
2015-11-19 8:22 ` Christian Borntraeger
2015-11-19 9:31 ` Vlastimil Babka
2015-11-19 9:43 ` Dr. David Alan Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151111204234.GI4573@redhat.com \
--to=aarcange@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=jjherne@linux.vnet.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-s390@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).