lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1497939652-16528-1-git-send-email-rppt@linux.vnet.ibm.com>
Date:   Tue, 20 Jun 2017 09:20:45 +0300
From:   Mike Rapoport <rppt@...ux.vnet.ibm.com>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     Andrea Arcangeli <aarcange@...hat.com>,
        Hugh Dickins <hughd@...gle.com>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Hillf Danton <hillf.zj@...baba-inc.com>,
        Pavel Emelyanov <xemul@...tuozzo.com>,
        linux mm <linux-mm@...ck.org>,
        lkml <linux-kernel@...r.kernel.org>,
        Mike Rapoport <rppt@...ux.vnet.ibm.com>
Subject: [PATCH 0/7] userfaultfd: enable zeropage support for shmem 

Hi,

These patches enable support for UFFDIO_ZEROPAGE for shared memory.

The first two patches are not strictly related to userfaultfd, they are
just minor refactoring to reduce amount of code duplication.

Mike Rapoport (7):
  shmem: shmem_charge: verify max_block is not exceeded before inode update
  shmem: introduce shmem_inode_acct_block
  userfaultfd: shmem: add shmem_mfill_zeropage_pte for userfaultfd support
  userfaultfd: mcopy_atomic: introduce mfill_atomic_pte helper
  userfaultfd: shmem: wire up shmem_mfill_zeropage_pte
  userfaultfd: report UFFDIO_ZEROPAGE as available for shmem VMAs
  userfaultfd: selftest: enable testing of UFFDIO_ZEROPAGE for shmem

 fs/userfaultfd.c                         |  10 +-
 include/linux/shmem_fs.h                 |   6 ++
 mm/shmem.c                               | 167 +++++++++++++++++--------------
 mm/userfaultfd.c                         |  48 ++++++---
 tools/testing/selftests/vm/userfaultfd.c |   2 +-
 5 files changed, 136 insertions(+), 97 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ