Received: by 10.213.65.68 with SMTP id h4csp954026imn; Wed, 14 Mar 2018 05:26:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELsR7px4GdIaxuxWZtKVwYBBqkE4gojBr9q0AZd4m0t0Ub6f73q9BVdFR/9MvomBOw+jnw3/ X-Received: by 10.101.99.205 with SMTP id n13mr3606442pgv.345.1521030400528; Wed, 14 Mar 2018 05:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521030400; cv=none; d=google.com; s=arc-20160816; b=HkIugRixMb+y0tS/L6ZqhmBR8/IzZ1c4IVzAwxvBdNbfv8nr7ixcYp86OF71DrreNU /nhpEFfLmSpwqkjnlblkjlEX0H5nHX1M3+oiiORA7K6hMEs9E8DbSklhxGI5GgJRWxVQ bi63D9P8Qpgj6XDH0n8/7pz4aKqV6zH9Xn4hzSKghrYxdMRWjeSo6wTOzQ7/zX7ahXEd e+DQAtftiL2gNr8ILkW6nuIV+7PzbYWhsjGrQA3ydSYr6dywy9nISzJeHrCQgDmqVV55 duKw5+4+XdCRAlqyARmAKv/uIoeD8sAlyLwElnM3PoKlyaH6em6992gIdZzbfnZNyypn wgLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=trWNEOreHAJCP28zCiz9OWCNCTRd5X0Xo7hbrKlrVkw=; b=yacBoEYOaKMH2wQrzDE7JG+/5GH9rr13sHBR7tCMbCvn7cqGeIyKouvwgKoo29me3L isZLM+NMWd5Tjn7630GkCt0x241dE/FAOkQoSsUdxQ80/HjEfoMEtaKBr4pomLe4VXO9 6mYid/Mlz2/sUkKLffop+Cd5+40ble4CIezepFHj+XlOpaS8a2ppl3ji6jAtgYk8jcmR 4A5jQ+AXezhRaIgWFMcelWOnY3CZP4McAgMdApyXkFr1Z2qqtKbN54dKhacIqm5NVgOd Wz/JzRfXcoOlUx75+8Dh4f/KA32OUTXORYWHP9ST6ZEK7ZnheueqBjNAt/6PsUdlB2/b lodw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AtWypP+J; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10si1810734pgs.253.2018.03.14.05.26.25; Wed, 14 Mar 2018 05:26:40 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=AtWypP+J; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751996AbeCNMZT (ORCPT + 99 others); Wed, 14 Mar 2018 08:25:19 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43946 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750855AbeCNMZR (ORCPT ); Wed, 14 Mar 2018 08:25:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=trWNEOreHAJCP28zCiz9OWCNCTRd5X0Xo7hbrKlrVkw=; b=AtWypP+Ji4DlRAvjKQPZ3ccgM SkT2tzD7+1XS6gINjDvlYZg5WdCUhO8p5ILYjHYZZXre+RHMpNsLyR0Ij0LBK196wSMZG0G9LUqM/ H7iAmb2VUpIbqFl3WzOngjzZP80RGgx9IqW5LgNQubirRUS1egbhMgKtyxgcKtXSY+FpFWdyu7eYp +JIl3mnLci/OGABwVRTGyJPfTJtaBQml2Fuvr/7K49fPYUlW8oUtxjaQYTMO/kNwJfSdDZF7ZOMOQ 39zT3RJuxnaLWCFfbe7cgHCxNfalBJh4DDK84xT46UMFTt8dRSnjf7ssVYyuTYjYpFqa1tsEm+mgz D5mYFOk6w==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1ew5Sy-0008L6-FX; Wed, 14 Mar 2018 12:25:12 +0000 Date: Wed, 14 Mar 2018 05:25:12 -0700 From: Matthew Wilcox To: Igor Stoppa Cc: david@fromorbit.com, rppt@linux.vnet.ibm.com, keescook@chromium.org, mhocko@kernel.org, labbott@redhat.com, linux-security-module@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Subject: Re: [PATCH 6/8] Pmalloc selftest Message-ID: <20180314122512.GF29631@bombadil.infradead.org> References: <20180313214554.28521-1-igor.stoppa@huawei.com> <20180313214554.28521-7-igor.stoppa@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180313214554.28521-7-igor.stoppa@huawei.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 13, 2018 at 11:45:52PM +0200, Igor Stoppa wrote: > Add basic self-test functionality for pmalloc. Here're some additional tests for your test-suite: for (i = 1; i; i *= 2) pzalloc(pool, i - 1, GFP_KERNEL);