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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2A76C5472C for ; Sat, 24 Aug 2024 05:06:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E1E0A800DE; Sat, 24 Aug 2024 01:06:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DCE90800D4; Sat, 24 Aug 2024 01:06:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CBE06800DE; Sat, 24 Aug 2024 01:06:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id AF79A800D4 for ; Sat, 24 Aug 2024 01:06:53 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id EF359140227 for ; Sat, 24 Aug 2024 05:06:52 +0000 (UTC) X-FDA: 82485954264.01.3B81149 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf20.hostedemail.com (Postfix) with ESMTP id 391E81C000C for ; Sat, 24 Aug 2024 05:06:51 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="Pa/imFBV"; spf=pass (imf20.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1724475946; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Vj9VZT4MLTtmOgoZDgbmzG6ZtkHfYQRoOX9KD2KUtWA=; b=G6Xoc4EtUJaidwuUePv7Xds25r/bY1BTdTecCVWnf3Oqs2dAOfBbNxR27GaBRHnAxPm3NK zOFHpWXlPSGIbli2F4ruRbzTpXIxh37I9qmBqn+lEnWG1Mdd61ZBbD7EHeA2AgIa9O3OFW PUEbgrxOT6znve0NcSsvk+wWmZaHUKQ= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="Pa/imFBV"; spf=pass (imf20.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1724475946; a=rsa-sha256; cv=none; b=1RqNKMxWAmZU0ww25LSjBUxLAbtTjjAypRPIBDEuEf/oXOnqOe8PZ7pFUbHoMHPS5s5EZL 4cy/2BO6w+Dpgbc6VnWasXOVTwWiyXpQt57+YNAcZG0ezH+vio5fG0IiqoQu8rbo7NQpUn a1ThKhW4PjFfsHsExk2mjvAAX9y1TzQ= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 429EB60D36; Sat, 24 Aug 2024 05:06:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BA46C32781; Sat, 24 Aug 2024 05:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1724476009; bh=kRWFF7F7UOmGwHsnPPfHcZiz0xTpgYj4in7SPYOK5rE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Pa/imFBVI1dRJuLEbCRg5jLgkW+r2i61IHu1dx04D0wwx0S+szwL62nEl0kQoHlnZ tMaMvnMExIKr56XQ4kTFiYoajFBQVU2fjk6j8nAFvUYG4UrQdHqc1MslmmASvKIIXJ HHrR00BcommdOhWGCh3ysBnr7+GBr61Ap3yheiWQ= Date: Fri, 23 Aug 2024 22:06:48 -0700 From: Andrew Morton To: Usama Arif Cc: hannes@cmpxchg.org, shakeel.butt@linux.dev, david@redhat.com, ying.huang@intel.com, hughd@google.com, willy@infradead.org, yosryahmed@google.com, nphamcs@gmail.com, chengming.zhou@linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Subject: Re: [RESEND v8 0/2] mm: store zero pages to be swapped out in a bitmap Message-Id: <20240823220648.081970f3fc9fb49f925f15be@linux-foundation.org> In-Reply-To: <20240823190545.979059-1-usamaarif642@gmail.com> References: <20240823190545.979059-1-usamaarif642@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Stat-Signature: n4hq6fxtiz8rrnyyzajy98ok3a1hquyw X-Rspam-User: X-Rspamd-Queue-Id: 391E81C000C X-Rspamd-Server: rspam02 X-HE-Tag: 1724476011-157736 X-HE-Meta: U2FsdGVkX1+TL9QWrrwU3Slsr0JKFloM2d+YNeWKu7xUWivF1e7B7QKzYtf6L93mUBeQM3ft2I1N0i2FyATJO6JCrfrvaQldIl3z2OYzPRz+UbUIWRIJd1bCkmusFEMaH3C9UpFutavcTck9XL4QjhwXpZnvhqhMrqQh1/hxAT7sgbdyQrVdH2EpsuAmxPf/gtS00yZJP+QXk0kOw9+BtAPZ1yToU15QnQorm0OAbUHEnRtpTEZVtrtP+LNfp38T4dvyTjJMO7WlKjTGY250sZRtNasoOkNZX9sBAS0fL9mqg345sWiryQqFuCudZeLOFvP6wAGjv61d6IHicRXHn21rzkWDeWLiH2fvX4iCTZTKQ+kShxlvLfRxKvVpM0KSq8bsvARkpZPkQxvd9PcflwD46IBjjZIrLAK1YpdO0AwZ71A97tkrKXQbzMa7Q4QD6fKNK9jHV5eTZ7hhoJbjvNJMZi0eRxBkiTvcootJMzrsrcYBn/JVNTmyyghl66/axHabMNFANQ6heoX2dOO+b8Q7V+3mv0/J3BkqCX3KicrNv4DN5nfivM5q9B03auX6NbKgebDYyAmCfW0IiFj/hmTyWVVVFimmM71tMApVp7cKdKYJwKtfjE53QAGOhLMutpM7pTqpTdBwXTRkreAgYagk6TafQ+98/wA5rKkyEVa1Yq3g8FMjCnExOxGbKnLfVhTkhSE0k/2AxgS7LQZlaJz33cz28RSNuGu2o0vTaWplU8iKyhhn0plIK71EnO6uAn5jon/YuG0BcNWCB9A3GZKnVjIWvGa6iXWC3mKaqnfAQI8OQU8IqTdEv8o07co9qVXjcJQp39AZoCU7RylxBLxybz6XIaQTYcXSqxdhfrHroF6Qxoclcp0wDpszez5FvTQ37ciGFZnNsApmLvSVOClP+zSvsctZFWcG9o/B+6VG7Q0yi+KeCAUsOb/KjkkJtm/7X9vweOO8viK9PkO uluVYhY9 8fnAFTJ7F0MdtRUAyx8QrWpcYl7fuFoQSwy4P1Xvp1bApOUEiUpq+7cctY5eaAXjxsx6att2iICBGTdsD/zVe3GT517bFgnvXv0KEXuVUMpq9bL+jddAv4/SzX1y0Pi9+JnivwQb0Ske9NDkD8SV/LmYdyWKkGfxbpPQJUeCK3qJ7GsXC90jAE+eQRXrfoHL5GGRiNBfDl+6geiORml7VW7p6Q0O8qDn8lJYXKllb60DM8O4RG0D+VNK43XJijKOMybaCqPyv8fX3oicBsCv2cuZQm5+sp9Ge5nL6e27EHHyP340= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Fri, 23 Aug 2024 20:04:38 +0100 Usama Arif wrote: > Resending it, as the CC had "Huang, Ying" in one of the initial patches, > and it was rejected by git send-email because of the "," in name. > > The original series [1] was almost merged, but was dropped > due to a last minute bug [2]. Resending this with the fix for it, > by handling zeromap in the same way as swap_map and cluster_info in > enable_swap_info, holding swapon_mutex and si->lock, hence avoiding > a race condition between swapon and any point where the lock is held. > This is the safest way. > > The series had already been reviewed and acked by all maintainers. > > Hoping that this attempt goes better than the initial one :) Yup ;) We're missing the [0/n] words here. I pasted the text from the v1 series. Please check that it remains the truth, the whole truth and nothing but the truth.