Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1356878lql; Tue, 12 Mar 2024 14:57:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOSbWtweD8M2o5JH+JbZrk+LMtQwmkeO8U63eRbrZp7B15oQkjzloulENZszV3zdZ1+kj3CbrbjpPUMtSOjNPhC8uVxYCzIwxD75X3uw== X-Google-Smtp-Source: AGHT+IGNvnqjMWPzhPKpRH4qNkVcCOcQRoymyIMnVnsLFGIjefIMYatmVYd+o0ZPtoJRWhLWIrQ/ X-Received: by 2002:a50:bb05:0:b0:568:79e3:4afd with SMTP id y5-20020a50bb05000000b0056879e34afdmr1633644ede.25.1710280621773; Tue, 12 Mar 2024 14:57:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710280621; cv=pass; d=google.com; s=arc-20160816; b=Me2y3magK61Cce8Mt5TIV57zLxxhioX1TNbGupNFIsEnzz/aaNYTeZqmMYIkUppmRc LHFf+O3nSgfpQR37rl4BUZfytxafeqwuWWq5lwV73i3wCKYJcnTM47NyDjXXWHPNUGOI fDkxNbGeN9dyOFQSTt9XJZCf15lZydyk3uB2Vujg+wnZkwBpz73bQlZw+foqP9Y6Gyq4 E1fhKEC2KnbSlnCEwIA5wtWhDNGOB7ZD4Tt0deN8tFlWAE411SLRaVy/eGZvyb57iDwC mYZmu5ur5bF90aqoC2FER/kpFGedfF0ptxfTG7QFZ4X/t+o/DkXtli0cRj/p/P9O3SJe mEfw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=c3urYGfKuJPLeoHA6U+tKSjt1CN+KM4GYVCJY2zaAA8=; fh=CEOr7kT519dB1xV66a/KYff3bnGY8JeFUCdya0SmGd4=; b=eCickBaDO+o5rMYQvV1wbB8YXv1ptD8H3IWrv6rNE8YAUykMf65mm+Sq5MISybNRec vfgqVeOuhh1nAhRgnkYb0laiBKCM+9DIbMgAPbYAlpMqA02wcziaBt2Tx4v8s/ZFmxyg 1xno8OGQQ3rZDj/3i0m/GKLHOcN47b1Ki8k7qKlFP+9FemXv4ynaN7NV0S1mA2T/gh55 v6mqDfAwCqvVRLwA4tHNbzqHOf2WUpwx8in3B+Ke5lwWf9uVoDPAv3cKj51AeYMDDG5K SwIS7CRL2OizB8b8Z7rFPZMaiRg/Ls9rE4lsuTwSpnV8wi10Gkx7f5LGNbuQHQjn97Hy T0fw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aUMAXtpg; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-100483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100483-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id et8-20020a056402378800b0056878a6e015si774944edb.161.2024.03.12.14.57.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 14:57:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aUMAXtpg; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-100483-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100483-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 54BA31F22C92 for ; Tue, 12 Mar 2024 15:58:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D85D7D405; Tue, 12 Mar 2024 15:57:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="aUMAXtpg" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 511A77D069 for ; Tue, 12 Mar 2024 15:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710259039; cv=none; b=oam5VM9iTkpGTtqowLDIhNjbn8vrg+4F6G3qViu0X6ElgNlFwi9kS1klFM1226Ovlx4vxc7aGIkWeRkmW8N0+OFuRQ/pcglYIc5qYqHLJgMzBtkdv1W31QhQjRnDu5WxQKwUK6G/dGUPkZySEEuhGx33II64Hh32prEpQg0Qd5E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710259039; c=relaxed/simple; bh=mNMHK1T1QnXwQ0bnvHui2hdAh/gJvX+CqXtKZELLAzU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tg16yP5DYZpgpNNrmk9hSpLOXnKuYl3/nD8ll+sspo/O97odM/FwhwwjqTb3vQUCaMct6xFaxnqwgW2dQm5p0w+pRREc+rnxac1rveNCW8fqkMATitOATXpYXvGmjnrXPN4M0qPSIXbgvX8yHe325LcDCjTmmffdu/V9uQeUfOU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=aUMAXtpg; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710259038; x=1741795038; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mNMHK1T1QnXwQ0bnvHui2hdAh/gJvX+CqXtKZELLAzU=; b=aUMAXtpgXuilFYtqyFV2sdDYJRTjJOxxbuWMTWEG9q4UTDlq15MkHFZX 0gafHrxn2DXGHNDhZ/RTf0nixVmJpqwtD1+BR05BkpfJG4e8+PbNad6U1 K42ZzLOMUomgbMz9oA2IJK+kEjyeKK1SLDQH7NSvRHGTBNU1zYcyZZnNi ckq1UnmLgObkzS75zFLaewbI1axkdOooA2VTBriKNSxV7p3PWOVqo7OMv J5f6lPIgpYcpxFYg5yCPYjQ7+bmCZPQVBNOwUalEuGX+FOmwYtbnd2Av2 +jOETPMFyulQ4V7pT2YBDnYQBdCC0OzUR3b2+/yYcQ2LqmTHfu3LJU6x8 g==; X-IronPort-AV: E=McAfee;i="6600,9927,11011"; a="15531075" X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="15531075" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2024 08:57:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11011"; a="937051909" X-IronPort-AV: E=Sophos;i="6.07,119,1708416000"; d="scan'208";a="937051909" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 12 Mar 2024 08:57:08 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 97E3C2B7; Tue, 12 Mar 2024 17:57:07 +0200 (EET) Date: Tue, 12 Mar 2024 17:57:07 +0200 From: "Kirill A. Shutemov" To: Pasha Tatashin Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, x86@kernel.org, bp@alien8.de, brauner@kernel.org, bristot@redhat.com, bsegall@google.com, dave.hansen@linux.intel.com, dianders@chromium.org, dietmar.eggemann@arm.com, eric.devolder@oracle.com, hca@linux.ibm.com, hch@infradead.org, hpa@zytor.com, jacob.jun.pan@linux.intel.com, jgg@ziepe.ca, jpoimboe@kernel.org, jroedel@suse.de, juri.lelli@redhat.com, kent.overstreet@linux.dev, kinseyho@google.com, lstoakes@gmail.com, luto@kernel.org, mgorman@suse.de, mic@digikod.net, michael.christie@oracle.com, mingo@redhat.com, mjguzik@gmail.com, mst@redhat.com, npiggin@gmail.com, peterz@infradead.org, pmladek@suse.com, rick.p.edgecombe@intel.com, rostedt@goodmis.org, surenb@google.com, tglx@linutronix.de, urezki@gmail.com, vincent.guittot@linaro.org, vschneid@redhat.com Subject: Re: [RFC 05/14] fork: check charging success before zeroing stack Message-ID: References: <20240311164638.2015063-1-pasha.tatashin@soleen.com> <20240311164638.2015063-6-pasha.tatashin@soleen.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240311164638.2015063-6-pasha.tatashin@soleen.com> On Mon, Mar 11, 2024 at 04:46:29PM +0000, Pasha Tatashin wrote: > No need to do zero cahced stack if memcg charge fails, so move the Typo. -- Kiryl Shutsemau / Kirill A. Shutemov