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 2320FC25B45 for ; Mon, 23 Oct 2023 18:16:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbjJWSQa (ORCPT ); Mon, 23 Oct 2023 14:16:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbjJWSQ1 (ORCPT ); Mon, 23 Oct 2023 14:16:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 127A48E for ; Mon, 23 Oct 2023 11:16:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65792C433C8; Mon, 23 Oct 2023 18:16:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1698084985; bh=8/Y6yUM2qc8zQIYxaEm1P3142V5gTTQ7O/yNb0plVTw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=j7LD7Xmspw0EbsKJ6nsrDwZvgIFMLB5dH7Uf9tdbSiWIMo4k5P1yGYlrxtgqwLeen WxZOWgrHzN3fImNCUfgAPt9bzm2jeQFx6fysV3VlbDzpSXkEQeZeFcguCdZ3VKqNpg geiuI+xwJwuJRwuvSTocybN4daXcLsArRlk3TeTk= Date: Mon, 23 Oct 2023 11:16:24 -0700 From: Andrew Morton To: Liu Shixin Cc: Catalin Marinas , Patrick Wang , Kefeng Wang , , Subject: Re: [PATCH -next] mm/kmemleak: move the initialisation of object to __link_object Message-Id: <20231023111624.15ea508ed8aba2dee69035c2@linux-foundation.org> In-Reply-To: <20231023025125.90972-1-liushixin2@huawei.com> References: <20231023025125.90972-1-liushixin2@huawei.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Oct 2023 10:51:25 +0800 Liu Shixin wrote: > Leave __alloc_object() just do the actual allocation and __link_object() > do the full initialisation. Changelog doesn't describe why we're making this change?