Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1681913imm; Sat, 29 Sep 2018 01:43:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV63a2VEcXzCgja8njvzJA2UpIz4lmTL/AgRVNLlLZxhrYD70eQxXMpC2L1dySIN72QhlopQh X-Received: by 2002:a63:7044:: with SMTP id a4-v6mr2073049pgn.63.1538210619306; Sat, 29 Sep 2018 01:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538210619; cv=none; d=google.com; s=arc-20160816; b=O23A0dopRCdfaWcI8RwUmQSHpvUoYuVxd+UqZ/w2jqa8a6K4szWhliAm40l3gzRfWm X4Cfpp7+38FPZ5laLC0k+He8mu+fx92dnFPrQJwBz0i2+u+AVji2Cwm2d4FghnZoIt/h DLSpAB5XgGeJjDLf/XGev5INuJN7Mu6IIIjVJiClAyd0dGFn5vfpi1eWGncE3H5UACfi QmyWrDXdVFYuTgVdlhUUETir45QgPdxqdbQYTzwx8MbCbrI8vlawiNsiVzmUnMbpaip8 fIis8eh0GUaeNH3frkxbwX4TUaUdiBTtfvW24VoJ0eNkifZn2yspEiYoE/tIJOWB6+1q UjdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=Vztg9G6jBrDY2Jzdb21DJgPX+6aYixCpNCTMKH/oPkw=; b=vJJ0IyDZq1lVNonV2AaPb9ppl1E7BsN29ji5I+dMUmqRXvqyp7o8XyIPp7+GsZoerU LBEU+eyBGZZkBcGChyrvYngTsC8x0Kz0xWc0Ysf0ej5i+SXSMAXvP+VWJSgUOozwkOex ar5mTWhCKtpAlNoIv7/wC1fgmAQlz64KjZJSMINVVcx3TOYpagSLHRHgEN40KhePtsfx qIlkcC32o7V/s2Td/6yN+6EA16DWLjPRxVu5ziJbhTw8+j4NRvX0mDw3deSyiREH5S/M H9MBpmM+xBtT048O++ExfVcEfntwN7Qaxnb7F7Yt2OfcPY/C7YrUH4t/a3gRBSOSBefx wyLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s21-v6si7109769pgm.651.2018.09.29.01.43.24; Sat, 29 Sep 2018 01:43:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727713AbeI2PKz (ORCPT + 99 others); Sat, 29 Sep 2018 11:10:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39254 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727620AbeI2PKz (ORCPT ); Sat, 29 Sep 2018 11:10:55 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A29B4307D849; Sat, 29 Sep 2018 08:43:19 +0000 (UTC) Received: from xz-x1.nay.redhat.com (dhcp-14-128.nay.redhat.com [10.66.14.128]) by smtp.corp.redhat.com (Postfix) with ESMTP id 38699106A790; Sat, 29 Sep 2018 08:43:12 +0000 (UTC) From: Peter Xu To: linux-kernel@vger.kernel.org Cc: Shuah Khan , Jerome Glisse , Mike Rapoport , Mike Kravetz , peterx@redhat.com, linux-mm@kvack.org, Zi Yan , "Kirill A . Shutemov" , linux-kselftest@vger.kernel.org, Shaohua Li , Andrea Arcangeli , "Dr . David Alan Gilbert" , Andrew Morton Subject: [PATCH 0/3] userfaultfd: selftests: cleanups and trivial fixes Date: Sat, 29 Sep 2018 16:43:08 +0800 Message-Id: <20180929084311.15600-1-peterx@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Sat, 29 Sep 2018 08:43:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Recently I wrote some uffd write-protection test for the not-yet-published uffd-wp tree, and I picked these common patches out first for the selftest which even suite for master. Any feedback is welcomed. Please have a look, thanks. Peter Xu (3): userfaultfd: selftest: cleanup help messages userfaultfd: selftest: generalize read and poll userfaultfd: selftest: recycle lock threads first tools/testing/selftests/vm/userfaultfd.c | 131 +++++++++++++---------- 1 file changed, 74 insertions(+), 57 deletions(-) -- 2.17.1