Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751954AbdF3JUq convert rfc822-to-8bit (ORCPT ); Fri, 30 Jun 2017 05:20:46 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:35913 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751589AbdF3JUp (ORCPT ); Fri, 30 Jun 2017 05:20:45 -0400 Date: Fri, 30 Jun 2017 12:20:31 +0300 User-Agent: K-9 Mail for Android In-Reply-To: <1497939652-16528-1-git-send-email-rppt@linux.vnet.ibm.com> References: <1497939652-16528-1-git-send-email-rppt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH 0/7] userfaultfd: enable zeropage support for shmem To: Andrew Morton CC: Andrea Arcangeli , Hugh Dickins , "Kirill A. Shutemov" , Hillf Danton , Pavel Emelyanov , linux mm , lkml From: Mike Rapoprt X-TM-AS-GCONF: 00 x-cbid: 17063009-0008-0000-0000-0000047528C3 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17063009-0009-0000-0000-00001DFF2F94 Message-Id: <221EB91B-4491-4737-BD8B-FE983E1084A4@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-06-30_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706300151 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1227 Lines: 34 Hi, Any updates/comments? On June 20, 2017 9:20:45 AM GMT+03:00, Mike Rapoport wrote: >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(-) -- Sent from my Android device with K-9 Mail. Please excuse my brevity.