Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1211962rwn; Thu, 8 Sep 2022 15:34:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR4bxNCqpiyz1usYBySU7i6AyqeOtCxW1nV/DaJLYOyafdngbiUDgJYIQx8jN29cQSW4WZn4 X-Received: by 2002:a19:ad4a:0:b0:497:ae0d:9613 with SMTP id s10-20020a19ad4a000000b00497ae0d9613mr2090437lfd.145.1662676486052; Thu, 08 Sep 2022 15:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662676486; cv=none; d=google.com; s=arc-20160816; b=QVZWpr8sVJ4kLiZg/mNMa/ILhTtKTxrkw/zSTYeaEgBvvNNuLC/8O9Y248aqYD9TkD g5HhmcIbNo/st1ra0ASK8U3D4+4LoRxmUPO8ZfTb1dPgAvc9xm1H4SeW2r3lZE0+1j4s GgaD+gZxC6k6S9Z3f87K43tup16YsoDJvtSx9bW+GAN5VctgjzkrLTpY1DesR/nACkvo Eo3z2Aq23szNH5/27rFjPn1B9gLefI3Qnbo+QXgvFCVJ3O+wsLJVgEIdvkiF6fCBKAI7 9m2S/B/jClogJ+DARPWz5qIjkjGP6ikMo0QGHEfvRFOurC8qtDrLbb9pQVeV1Qn3aC1i FrCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=4gMwWxeuhRlYeNYCOe1unChyx8/6+Bhy4WfYdBCslfQ=; b=eGo29iKXXRrboVWAnZBjNqbVddnpJvBvtuEYI3OuirJSDg+ynqTB+huiaGUrIIiyW8 0HDkXBEFy54QeVcRmbwhjPGDglvK88Q4z6lriKf+waOWs2jnDG/6cKWVpovtFF7XyPi0 dkYblX6wYAd5IhTphyOk+QStUWcAFiX8zjb3eMfxH4DGj/cOFvGiRHgU65Ae8HLIc3SK tc4yZvDZWRLpI5ygEqwqU3naAJbdjo4MkDcK6SIobsMYjDtWEukr2kAYeXF2PXXPWdoX RaJ30CjuiEg2PLNFctm8QNebFqFfMsbtm9uyJ1KZu25jjDBEjoTGWrpDgh/dsQ8ZaCQx WVRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=x1eZtPss; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p23-20020a2e93d7000000b0026894ad8aefsi49111ljh.45.2022.09.08.15.34.16; Thu, 08 Sep 2022 15:34:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=x1eZtPss; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229755AbiIHWDD (ORCPT + 99 others); Thu, 8 Sep 2022 18:03:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbiIHWCx (ORCPT ); Thu, 8 Sep 2022 18:02:53 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 135573AB; Thu, 8 Sep 2022 15:02:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 4B593CE20FD; Thu, 8 Sep 2022 22:02:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5250DC433D6; Thu, 8 Sep 2022 22:02:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1662674569; bh=8sy1ATs3JDer4J6KBpLpL/36vh5+x6IuTH2whh/yMVE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=x1eZtPss8z2xDuQ68b7Q5wAXvxzGWI3qEDMWP24UxzJLRN0Ko2W1T66YWttxzQSug fl4/D5KUwLVvlUF4thcLin9nf2YLrJqrxEww2eV1LvdGqPuFVeNXBhmHAFqIVnbKnm uoyYf/5C6LmYn6auMZsETC++A5gpXT7EgxuY4U8w= Date: Thu, 8 Sep 2022 15:02:48 -0700 From: Andrew Morton To: Liu Shixin Cc: Jonathan Corbet , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , , , , , Kefeng Wang Subject: Re: [PATCH] mm/memcontrol: use kstrtobool for swapaccount param parsing Message-Id: <20220908150248.85fff32bf275844f0927a856@linux-foundation.org> In-Reply-To: <20220908083452.2844125-1-liushixin2@huawei.com> References: <20220908083452.2844125-1-liushixin2@huawei.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Sep 2022 16:34:52 +0800 Liu Shixin wrote: > --- a/mm/swap_cgroup.c > +++ b/mm/swap_cgroup.c > @@ -194,7 +194,7 @@ int swap_cgroup_swapon(int type, unsigned long max_pages) > return 0; > nomem: > pr_info("couldn't allocate enough memory for swap_cgroup\n"); > - pr_info("swap_cgroup can be disabled by swapaccount=0 boot option\n"); > + pr_info("swap_cgroup can be disabled by swapaccount=[oO][Ff]/N/n/0 boot option\n"); I'm not sure this really needed changing. "=0" was OK and the message now looks rather silly. But whatever.