Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4660640pxv; Tue, 20 Jul 2021 08:46:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVCf63axFZ9V6+07iR54cphrrhvCTvxlR03DX2fvGaaUniZR3riSf7dHPWNlZjA1NueoCd X-Received: by 2002:a6b:b795:: with SMTP id h143mr23381300iof.74.1626796008891; Tue, 20 Jul 2021 08:46:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626796008; cv=none; d=google.com; s=arc-20160816; b=Rb2kuUgxQ46CRSaFdhJwNGO1FU93le4RDigSILgtRZsnd/8DDstdi0YdjEuXDwlgfu FwqRrzIppJ4p29qC+aQTcXsoiMU3wOEyQzE3HMFRJL0C6aKEG3U0xko0K/8bBHyNOsuC eku0Yg+GOhfTfXU5P7wuRhMZkyVQZMwBaaoLeWnhUFQOqnDW4OX/ILn3LdTCFzWR8crG JI0+MUIxKXgU+eHnTdi7SI7AbtZh38UomAxxPXvKKSJiFZcUlmAABrqpOFquL+KDND1o oAVYPN+xe2zSieR16E2NgmE/HjsnThv3wQNiQW/oRhQtZxyD7kmPLFEP8D4hTbBq92Qc b86A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OdskNr2qpjASPUQGDbcP1COLeTPOGS5TSZXTFon4ANo=; b=pTLO362e0SCJ7Iv3LJz8oe+o9Y31dDz9UMwmRlAfRwVBCUY8uzdKX8Kr7u3/WAvcbo DdR4pDQiAO19X6uCtNwm1u4NRkuwrFYMa9UJxApq7D1HgaM2f2RyPbMV6Lx5AaTS0p4N G0BHu9Gm1rb0If/ElQgC7mz3v1kVyjEN16W/apNJ6rZPc5BI+xQ7s6aNR9jYGvQ+Hhlr 926dw4c4O4Zg+KVzLbgvZ/YpsaEhKrhqiPMmDpwtnvg8PmyGZPIYXWPa5er6+TBNFJs6 WhwzQf6B6GrjptlpssOyzV4ks53K9fzsyDE+fiO88sIx8QAb38nsQe6SCHaJ3ShZQ1cP lfGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JQKtkHgt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k15si24611924jad.51.2021.07.20.08.46.36; Tue, 20 Jul 2021 08:46:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JQKtkHgt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240241AbhGTPAH (ORCPT + 99 others); Tue, 20 Jul 2021 11:00:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:42532 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241892AbhGTOzS (ORCPT ); Tue, 20 Jul 2021 10:55:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 24149601FD; Tue, 20 Jul 2021 15:35:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626795356; bh=6WWbHG/Fa5709pODcaChGeaGj3p2RG9Qp8c92oe20zI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JQKtkHgtu6oCFgE8fW9thT3eytInZV3idh1LlWRc/P0FRUiv8NTrsAeqyvPR0tk/z SDRabWk8G6xfWiZf36Rj0S2TFnEp3Ov1e+odU8Ld39pdfNN3ZmiSGlST3OvHnFtjx2 OY7l50V5VXFeqfqVhKMLPOoHsJU5yWsQdpboDBTH9exrO64daiyQtBpU/W8qJ7BMYb c0ZyP8452/1RH3t7P70w8nDGP41Z7tlQOjutKH2mfwi5bkOW8Rx3wAeDcL7y8RbRhz EcPGzNjnZF7cLbi7QT/jvxOBfsB0+0qYju73pgV88ubSipoKUbl/1JNMtAytQX8myD SWCbbC145IMAg== Date: Tue, 20 Jul 2021 18:35:50 +0300 From: Mike Rapoport To: Matthew Wilcox Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v14 000/138] Memory folios Message-ID: References: <20210715033704.692967-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 20, 2021 at 04:23:29PM +0100, Matthew Wilcox wrote: > On Tue, Jul 20, 2021 at 06:17:26PM +0300, Mike Rapoport wrote: > > On Tue, Jul 20, 2021 at 01:41:15PM +0100, Matthew Wilcox wrote: > > > On Tue, Jul 20, 2021 at 01:54:38PM +0300, Mike Rapoport wrote: > > > > Most of the changelogs (at least at the first patches) mention reduction of > > > > the kernel size for your configuration on x86. I wonder, what happens if > > > > you build the kernel with "non-distro" configuration, e.g. defconfig or > > > > tiny.config? > > > > > > I did an allnoconfig build and that reduced in size by ~2KiB. > > > > > > > Also, what is the difference on !x86 builds? > > > > > > I don't generally do non-x86 builds ... feel free to compare for > > > yourself! > > > > I did allnoconfig and defconfig for arm64 and powerpc. > > > > All execpt arm64::defconfig show decrease by ~1KiB, while arm64::defconfig > > was actually increased by ~500 bytes. > > Which patch did you go up to for that? If you're going past patch 50 or > so, then you're starting to add functionality (ie support for arbitrary > order pages), so a certain amount of extra code size might be expected. > I measured 6KB at patch 32 or so, then between patch 32 & 50 was pretty > much a wash. I've used folio_14 tag: commit 480552d0322d855d146c0fa6fdf1e89ca8569037 (HEAD, tag: folio_14) Author: Matthew Wilcox (Oracle) Date: Wed Feb 5 11:27:01 2020 -0500 mm/readahead: Add multi-page folio readahead -- Sincerely yours, Mike.