Received: by 10.213.65.68 with SMTP id h4csp1140380imn; Wed, 14 Mar 2018 10:45:29 -0700 (PDT) X-Google-Smtp-Source: AG47ELu5vkPBDraJYwWJPe3igyaP/9voWpwkNYegx7TUmr16rSLyf62jEezABFc5pJONvWGGO5vD X-Received: by 10.98.232.6 with SMTP id c6mr5039346pfi.242.1521049528992; Wed, 14 Mar 2018 10:45:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521049528; cv=none; d=google.com; s=arc-20160816; b=lgdgHmkO3zX2NIzPhUlrfOP4mvRky17k2mEv+nTAtu9dL6lDe3rTwOSDtl5M2WfcI8 jBg0JUBET+uSN+KfNhpFdK9njVlLjRD/jg6Y2iTym2g3A1v+62Vbckp0fHds9izwbnug O7e9dJJbQ/WzMKMXmXCZ4MSTZcSiAPeQCeuWFiKwtP9cOTX5ANKySbri7C2Qe/HDLXcg 4CiJqjC3Jl/S2A4kCOacPnQWHAVSs1PqWVa8ruzVtbb55XC0TqJ1ln5u2ZSO/6Q06qLM fRO+6U+bDkabU7XCzC5BXmoEB5vZr8S85Bs2tvvhXb72cNAY1qMf5JEKxIrlk7IAHVg+ k97w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=yzdILt00B4EjKrlLJ7gnXbMNAFLn3k/aGh1gRsS+7Hg=; b=h3xEuFiUV57ongh8Hg7tG6lTvr/MjMQUDA7Qf6XOVxZAMADkJJNuSnIeGUVr1S39As 9T09yA9EfkwI4bQxMxUcJ5MWdu3zwJbc7WFEgFjPbJ0l9M6IhR8iFAcLlTxs669FYk9a XPjQ/CyFrVhsH1iXWAbjOYRE+sFcw8Un1rmIt/wEtODBRPqeNLU96D99Brh8rJorza9C BOHdob+tOZZ+8NaSGsr2alVVT/CY2GTlW4yR19ROEITb01BNj57ZoKU/d7v2xSlMrbJ0 WJ2hjTg0eyt1QC4oD7yvPW1XLc7PSf0X4mFW3KA2WllbMz9K9gW5yHfbxs5jDNgtDt7H j6Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H113QMdJ; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3-v6si2283785plj.494.2018.03.14.10.45.14; Wed, 14 Mar 2018 10:45:28 -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=pass header.i=@gmail.com header.s=20161025 header.b=H113QMdJ; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752414AbeCNRnp (ORCPT + 99 others); Wed, 14 Mar 2018 13:43:45 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:46858 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752397AbeCNRnn (ORCPT ); Wed, 14 Mar 2018 13:43:43 -0400 Received: by mail-pg0-f67.google.com with SMTP id r26so1662016pgv.13; Wed, 14 Mar 2018 10:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=yzdILt00B4EjKrlLJ7gnXbMNAFLn3k/aGh1gRsS+7Hg=; b=H113QMdJ5kqzYZOEWe/yeLuOt3DBZfPr7Mbyx9kzITSOMi+cDsyggYapYRuN2o0AC7 f+zNrmFT8NYPE8bO4mKdhUh2+LO6y0PO+QLSikW/A/9B8G9HqPcF5pD+rwyr9LqhN7sk wkWE+VMLRIkO61+TXXj2UcirIwd0Y3YKBzsSf1AFV1pmtjnmhouXvWk6Gz45Bq+ED/RY 1QTm4m2Rvmn9WA/xQqyJZb2zC68k1FqXz+IL+wXur1KMF5iXeoZKTFa4B/GQkQzWZe8B 0ic2ig3phI5u6TH6neslw0uIv/EH5ix4EtxMLtibFg5PPWe7m7GWjhkt/gVMIe2/zifO gtgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=yzdILt00B4EjKrlLJ7gnXbMNAFLn3k/aGh1gRsS+7Hg=; b=TwZhWO3BoAmv5VIeMrV9ndFpiBCTMp0O6TO8lD5IqPIdRyA+Z8RB8WW+HaLP/EUwNl I7UUcwA60CSQPXODl15CkFEXtmh/f9NDpjBVfuPbKMt7dtVdz1aWVkv6LCWOdby1d5zq TzbsAIhkFBLkkOE6p2a/2ykYyWkNzgA/ZHLrHqGucNjg9jH1uNry5uYMK8EzRueB/8hN 3Zdxid5vaCHCOvGLBwYLyhIc/UL0MxMZjobyPCCp2veNfF/HFDmw3C5tGbitzizsEg6X 5p4rNFMuxKcM+uPql2OtidZuyWTqlipua0qyuRrfM6sIsggkevWCSIEi3LiCD5EPn6YM yXnQ== X-Gm-Message-State: AElRT7ENERMq4yWYGYWuhLgO0Rnb5QP1kYlo/s5VdVk7qk+726yLqX+f /cZRJuz4ViK82cWLzGgHdTg= X-Received: by 10.98.238.2 with SMTP id e2mr5102376pfi.68.1521049422718; Wed, 14 Mar 2018 10:43:42 -0700 (PDT) Received: from JF-EN-C02V905BHTDF.tld ([12.111.169.54]) by smtp.gmail.com with ESMTPSA id d13sm5245861pgn.64.2018.03.14.10.43.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 10:43:41 -0700 (PDT) Subject: Re: [PATCH 4/8] struct page: add field for vm_struct To: Matthew Wilcox , 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 References: <20180313214554.28521-1-igor.stoppa@huawei.com> <20180313214554.28521-5-igor.stoppa@huawei.com> <20180313220040.GA15791@bombadil.infradead.org> From: J Freyensee Message-ID: <7b18521c-539b-2ba1-823e-e83be071c13f@gmail.com> Date: Wed, 14 Mar 2018 10:43:37 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180313220040.GA15791@bombadil.infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/13/18 3:00 PM, Matthew Wilcox wrote: > On Tue, Mar 13, 2018 at 11:45:50PM +0200, Igor Stoppa wrote: >> When a page is used for virtual memory, it is often necessary to obtain >> a handler to the corresponding vm_struct, which refers to the virtually >> continuous area generated when invoking vmalloc. >> >> The struct page has a "mapping" field, which can be re-used, to store a >> pointer to the parent area. >> >> This will avoid more expensive searches, later on. >> >> Signed-off-by: Igor Stoppa > Reviewed-by: Matthew Wilcox Igor, do you mind sticking these tags on the files that have spent some time reviewing a revision of your patchset (like the Reviewed-by: tags I provided last revision?) Thanks, Jay