From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A94DB20C487 for ; Wed, 6 Nov 2024 20:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730925748; cv=none; b=i3Zs4JGizuskfvy9B81ytwML/tzVUFIlyAIGj/TnqWS6VGIrcg+cpANRWhw5uXaHlhrwuWmu54fmgmXJLeV/RlJogdzwHxmVESqz43xSazWT5lyARN4wGfKzSNgbLgtIpcj1gp4FKiltDGWb7b4DfwvMFk87loiQyuCTe5s/KoY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730925748; c=relaxed/simple; bh=Ib6H9fR5I9GUBeW/NbyrXJtXsVF6eBCwNR6pv3nYMrI=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=cz68LdirNLWxXBngalK5xr0sn6lAlHT9KVztNEHrfom8xf3ZomwQOK556vEBlQCopX9OD/5OGsPOFX+EqiCM8Ta52Xqyc7Lv/nmqYifGL51+lmqnRq8Ygdn2YXt876mL8BYybD7X4rLzwcFKttA/W12Bt7eSSEISp/isTxvN+Wg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=lJWCNvGH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="lJWCNvGH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91722C4CEC6; Wed, 6 Nov 2024 20:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1730925746; bh=Ib6H9fR5I9GUBeW/NbyrXJtXsVF6eBCwNR6pv3nYMrI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lJWCNvGHdUprCOPVuf629SfJ0VvTqN+hY9HER1iQipszU+K/DGmOzZf9fCBDO86EZ z0BSe3z9oNBtJgm1/WEPvQGdEIpItduW+PJKi54rSW1qjbhOGgxMoiyePYggNi5KFW k8bUQIBMnEwfd5pnUYys5Ukg0wyTXOJIro0zXbEM= Date: Wed, 6 Nov 2024 12:42:25 -0800 From: Andrew Morton To: Barry Song <21cnbao@gmail.com> Cc: Johannes Weiner , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Barry Song , Nhat Pham , Usama Arif , Chengming Zhou , Yosry Ahmed , Hailong Liu , David Hildenbrand , Hugh Dickins , Matthew Wilcox , Shakeel Butt , Andi Kleen , Baolin Wang , Chris Li , "Huang, Ying" , Kairui Song , Ryan Roberts Subject: Re: [PATCH v3] mm: count zeromap read and set for swapout and swapin Message-Id: <20241106124225.632b42c3680cae0b940d2871@linux-foundation.org> In-Reply-To: References: <20241105211934.5083-1-21cnbao@gmail.com> <20241106150631.GA1172372@cmpxchg.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Thu, 7 Nov 2024 09:01:14 +1300 Barry Song <21cnbao@gmail.com> wrote: > Oops, it seems that it depends on Kanchana's 'mm: change count_objcg_event() to > count_objcg_events() for batch event updates,' which also isn't present in 6.12. > > Otherwise, it won't build, as reported here: > https://lore.kernel.org/linux-mm/CAGsJ_4whD31+Lk0m2uq-o=ygvkRsw1uXcPeqxBONV-RUXkeEzg@mail.gmail.com/ argh. > Hi Andrew, > What’s the best approach here? Should we include Kanchana's patch that extends > the nr argument for count_objcg_events() in 6.12-rc as well? Let's do the right thing here. I'll drop this patch from mm-hotfixes. Please send a v4 against Linus mainline fairly soon then I'll redo Kanchana's series around that.