From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3DAAC433F5 for ; Fri, 18 Mar 2022 14:14:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237154AbiCROQK (ORCPT ); Fri, 18 Mar 2022 10:16:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237149AbiCROQH (ORCPT ); Fri, 18 Mar 2022 10:16:07 -0400 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 912AA24F293 for ; Fri, 18 Mar 2022 07:14:47 -0700 (PDT) Received: by mail-qv1-xf2c.google.com with SMTP id kj11so2657920qvb.11 for ; Fri, 18 Mar 2022 07:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hJ1LZFGh9JrH4kLmBili/XVhpdUQ1ROx+3aGkRwtWcI=; b=ZQyTAMy/ScpfxQEloYqrCUcFgo6qloh6qWxRiKKAtZkyPrSuLS5yTxNvKXrtfyMeXC 5qly6FgPCzATRsLI25+Q51/YesrhGC9wr1NEy+UDUqBTH1zmwVOQHfbGMLcM+RwZhwSC 5rpt8CpNTz/z+PT/JhlyjUII85wYFh+tL8KLT/7YV4W94DFaynL7nxxZzX30zsGDls3S EJJLovQHLzYpe8LlrhMKCOXe1MBd8ZWgKCTogVt04cXQ+voExMLKKYvOcx8Rd8hMJgJX vvete9Y0IByOyVxi9/pEXtK1SxEAof+jaw9+Mz/cPfuUZlWmW5SApovgM288iSUU21Td PqDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hJ1LZFGh9JrH4kLmBili/XVhpdUQ1ROx+3aGkRwtWcI=; b=jc+flxCHQQVwceBzFv1rXuXA27J47kaD+mLVZhCh9BKSqNWr11WzeFc3pYutXcLuZR 2fRtbdRG5zuSPNA9Fri/G/X9BwkJNsyyKxka3+rOBmqritdY6X1gHU1pZYmMsD//jzgT 4YJAZZlO7+kBI1deFnMnXFGOsB8UgXPKXvg1G2pyM//CwkeLR0LipLlbVoiB8VrpsI/I Ja+OEFNjS6ynGykx8DxSmhT8GYFRYNAu5lkhAtL0PWEblkhvCmTI20D7+VFfAO3xHoxr KwK6ISqW2nRNvtsJ5Xj2b7cc+hn/vAryPL7tb+TroC0dAlPWqSwz5nUS4mZglumtxEbD 9rPg== X-Gm-Message-State: AOAM530QSyJwQkHfmbZUxtKJ6AW3VmqmGCXQoT6FSQTwd5fMThBJF9sR QuuFEkMfY10H0EjlFsEkh7rE2M9eJ3ILR0ecBU/L3w== X-Google-Smtp-Source: ABdhPJxvrcJRmBQ4O88N5dr023OMDX4aws1b92iUMNfld//QEeUr0i9SS+OlluqCchFGqXUdrKptwr+QUv1W5ylNiHE= X-Received: by 2002:a05:6214:2342:b0:42d:7c8b:9eac with SMTP id hu2-20020a056214234200b0042d7c8b9eacmr7144475qvb.5.1647612886526; Fri, 18 Mar 2022 07:14:46 -0700 (PDT) MIME-Version: 1.0 References: <20211214162050.660953-1-glider@google.com> <20211214162050.660953-11-glider@google.com> In-Reply-To: From: Alexander Potapenko Date: Fri, 18 Mar 2022 15:14:10 +0100 Message-ID: Subject: Re: [PATCH 10/43] kmsan: pgtable: reduce vmalloc space To: Mark Rutland Cc: Alexander Viro , Andrew Morton , Andrey Konovalov , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Christoph Hellwig , Christoph Lameter , David Rientjes , Dmitry Vyukov , Eric Dumazet , Greg Kroah-Hartman , Herbert Xu , Ilya Leoshkevich , Ingo Molnar , Jens Axboe , Joonsoo Kim , Kees Cook , Marco Elver , Matthew Wilcox , "Michael S. Tsirkin" , Pekka Enberg , Peter Zijlstra , Petr Mladek , Steven Rostedt , Thomas Gleixner , Vasily Gorbik , Vegard Nossum , Vlastimil Babka , Linux Memory Management List , Linux-Arch , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 15, 2021 at 2:36 PM Mark Rutland wrote: > > On Tue, Dec 14, 2021 at 05:20:17PM +0100, Alexander Potapenko wrote: > > KMSAN is going to use 3/4 of existing vmalloc space to hold the > > metadata, therefore we lower VMALLOC_END to make sure vmalloc() doesn't > > allocate past the first 1/4. > > > > Signed-off-by: Alexander Potapenko > > It might be worth adding an 'x86: ' prefix to the commit title, since this > specifically affects x86 headers. Makes sense, will do!