← Back to team overview

kernel-packages team mailing list archive

[Bug 1357014] Re: Add THP fixes in 14.10 kernel

 

Breno - please have a look at this branch.  The only backport was
'powerpc/thp: Invalidate old 64K based hash page mapping before insert
of 4k pte'.

The following changes since commit
12dc9db804c054de7176138962a4671e2c1cbb7d:

  UBUNTU: Ubuntu-3.13.0-35.62 (2014-08-14 21:23:50 -0400)

are available in the git repository at:

  git://kernel.ubuntu.com/rtg/ubuntu-trusty.git lp1357014-powerpc-thp

for you to fetch changes up to 80436cd3c451af1b86611f5842185656607d0e76:

  powerpc/thp: Add tracepoints to track hugepage invalidate (2014-08-15
14:36:42 -0600)

----------------------------------------------------------------
Aneesh Kumar K.V (8):
      powerpc/thp: Add write barrier after updating the valid bit
      powerpc/thp: Don't recompute vsid and ssize in loop on invalidate
      powerpc/thp: Invalidate old 64K based hash page mapping before insert of 4k pte
      powerpc/thp: Handle combo pages in invalidate
      powerpc/thp: Invalidate with vpn in loop
      powerpc/thp: Use ACCESS_ONCE when loading pmdp
      powerpc/mm: Use read barrier when creating real_pte
      powerpc/thp: Add tracepoints to track hugepage invalidate

 arch/powerpc/include/asm/machdep.h        |  6 +++---
 arch/powerpc/include/asm/pgtable-ppc64.h  |  2 +-
 arch/powerpc/include/asm/pte-hash64-64k.h | 30 +++++++++++++++++++++++++-----
 arch/powerpc/mm/hash_native_64.c          | 40 +++++++++++-----------------------------
 arch/powerpc/mm/hugepage-hash64.c         | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
 arch/powerpc/mm/pgtable_64.c              | 44 +++++++++++++++++++++++++++++---------------
 arch/powerpc/mm/tlb_hash64.c              |  6 +++++-
 arch/powerpc/platforms/pseries/lpar.c     | 20 ++++++--------------
 include/trace/events/thp.h                | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 250 insertions(+), 80 deletions(-)
 create mode 100644 include/trace/events/thp.h

** Also affects: linux (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Trusty)
       Status: New => In Progress

** Changed in: linux (Ubuntu Trusty)
     Assignee: (unassigned) => Tim Gardner (timg-tpi)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1357014

Title:
  Add THP fixes in 14.10 kernel

Status in “linux” package in Ubuntu:
  Fix Committed
Status in “linux” source package in Trusty:
  In Progress
Status in “linux” source package in Utopic:
  Fix Committed

Bug description:
  Hi Canonical,

  We would like to include 8 patches regarding Transparent Huge Page for
  powerpc. The patches are already upstream on Ben powerpc-next tree and
  should be sent to Linus' tree today, which mean that they are expected
  to make 3.17.

  Here are the patches

  9e813308a5c18c58f9ccae1ec72ed4e14eaf9025 powerpc/thp: Add tracepoints to track hugepage invalidate
  85c1fafd7262e68ad821ee1808686b1392b1167d powerpc/mm: Use read barrier when creating real_pte
  7e467245bf5226db34c4b12d3cbacfa2f7a15a8b powerpc/thp: Use ACCESS_ONCE when loading pmdp
  969b7b208f7408712a3526856e4ae60ad13f6928 powerpc/thp: Invalidate with vpn in loop
  fc0479557572375100ef16c71170b29a98e0d69a powerpc/thp: Handle combo pages in invalidate
  629149fae478f0ac6bf705a535708b192e9c6b59 powerpc/thp: Invalidate old 64K based hash page mapping before insert of 4k pte
  fa1f8ae80f8bb996594167ff4750a0b0a5a5bb5d powerpc/thp: Don't recompute vsid and ssize in loop on invalidate
  b0aa44a3dfae3d8f45bd1264349aa87f87b7774f powerpc/thp: Add write barrier after updating the valid bit

  I am also adding the patches here for reference.

  Thank you,
  Breno

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1357014/+subscriptions