Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400501

Re: transparent huge pages breaks KVM on AMD.

From Marc Haber <mh+linux-kernel@zugschlus.de>
Newsgroups linux.kernel
Subject Re: transparent huge pages breaks KVM on AMD.
Date 2016-05-13 07:30 +0200
Message-ID <rydPI-4W7-5@gated-at.bofh.it> (permalink)
References (5 earlier) <rrbfY-8dY-13@gated-at.bofh.it> <ry5p8-4Cj-3@gated-at.bofh.it> <ry5p8-4Cj-13@gated-at.bofh.it> <ry5yO-4H0-15@gated-at.bofh.it> <ry5It-4Oz-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 12, 2016 at 11:42:16PM +0300, Kirill A. Shutemov wrote:
> But I guess it should apply cleanly to v4.5. Or at least without major
> conflicts.

[11/511]mh@fan:~/linux/debug/linux$ curl 'http://marc.info/?l=linux-rdma&m=146307074800836&w=2' | patch -p1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12529    0 12529    0     0   9844      0 --:--:--  0:00:01 --:--:--  9849
patching file include/linux/mm.h
Hunk #1 succeeded at 456 with fuzz 1 (offset -44 lines).
patching file include/linux/swap.h
Hunk #2 FAILED at 513.
1 out of 2 hunks FAILED -- saving rejects to file include/linux/swap.h.rej
patching file mm/huge_memory.c
Hunk #1 FAILED at 1298.
Hunk #2 FAILED at 2079.
Hunk #3 succeeded at 3340 (offset 117 lines).
2 out of 3 hunks FAILED -- saving rejects to file mm/huge_memory.c.rej
patching file mm/memory.c
Hunk #1 FAILED at 2373.
Hunk #2 succeeded at 2331 with fuzz 2 (offset -56 lines).
Hunk #3 FAILED at 2622.
2 out of 3 hunks FAILED -- saving rejects to file mm/memory.c.rej
patching file mm/swapfile.c
Hunk #1 FAILED at 922.
1 out of 1 hunk FAILED -- saving rejects to file mm/swapfile.c.rej
[12/512]mh@fan:~/linux/debug/linux$

It doesn't, and it doesn't apply to 4.6-rc3 as well:

[17/517]mh@fan:~/linux/debug/linux$ git checkout v4.6-rc3
Checking out files: 100% (9945/9945), done.
Previous HEAD position was b562e44... Linux 4.5
HEAD is now at bf16200... Linux 4.6-rc3
[18/518]mh@fan:~/linux/debug/linux$ curl 'http://marc.info/?l=linux-rdma&m=146307074800836&w=2' | patch -p1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12529    0 12529    0     0   9692      0 --:--:--  0:00:01 --:--:--  9697
patching file include/linux/mm.h
patching file include/linux/swap.h
Hunk #2 FAILED at 513.
1 out of 2 hunks FAILED -- saving rejects to file include/linux/swap.h.rej
patching file mm/huge_memory.c
Hunk #1 FAILED at 1298.
Hunk #2 FAILED at 2079.
Hunk #3 succeeded at 3225 (offset 2 lines).
2 out of 3 hunks FAILED -- saving rejects to file mm/huge_memory.c.rej
patching file mm/memory.c
Hunk #1 FAILED at 2373.
Hunk #2 succeeded at 2354 (offset -33 lines).
Hunk #3 FAILED at 2622.
2 out of 3 hunks FAILED -- saving rejects to file mm/memory.c.rej
patching file mm/swapfile.c
Hunk #1 FAILED at 922.
1 out of 1 hunk FAILED -- saving rejects to file mm/swapfile.c.rej
[19/519]mh@fan:~/linux/debug/linux$

How do I apply this?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

transparent huge pages breaks KVM on AMD. Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-05-12 22:30 +0200
  Re: transparent huge pages breaks KVM on AMD. "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-05-12 22:30 +0200
    Re: transparent huge pages breaks KVM on AMD. Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-05-12 22:40 +0200
      Re: transparent huge pages breaks KVM on AMD. "Kirill A. Shutemov" <kirill@shutemov.name> - 2016-05-12 22:50 +0200
        Re: transparent huge pages breaks KVM on AMD. Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-05-13 07:30 +0200
          Re: transparent huge pages breaks KVM on AMD. Borislav Petkov <bp@alien8.de> - 2016-05-13 10:10 +0200
            Re: transparent huge pages breaks KVM on AMD. Borislav Petkov <bp@alien8.de> - 2016-05-13 10:20 +0200
              Re: transparent huge pages breaks KVM on AMD. Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-05-13 15:30 +0200
                Re: transparent huge pages breaks KVM on AMD. Borislav Petkov <bp@alien8.de> - 2016-05-13 18:10 +0200
              Re: transparent huge pages breaks KVM on AMD. Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-05-14 08:30 +0200
            Re: transparent huge pages breaks KVM on AMD. Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-05-13 11:10 +0200
              Re: transparent huge pages breaks KVM on AMD. Borislav Petkov <bp@alien8.de> - 2016-05-13 11:20 +0200
            Re: transparent huge pages breaks KVM on AMD. Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-05-13 17:00 +0200
  Re: transparent huge pages breaks KVM on AMD. "Dr. David Alan Gilbert" <dave@treblig.org> - 2016-05-13 10:40 +0200
    Re: transparent huge pages breaks KVM on AMD. Marc Haber <mh+linux-kernel@zugschlus.de> - 2016-05-13 16:10 +0200

csiph-web