Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6426460rwn; Tue, 13 Sep 2022 04:14:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR5JPZtX+4LvFIKYIxS8NKBgu3KfR+tjscbRHOETy5lAr/LdHkfvP/0Vcqcp7fQfRaSzY3v1 X-Received: by 2002:a17:907:724e:b0:77a:63:4a24 with SMTP id ds14-20020a170907724e00b0077a00634a24mr13528009ejc.35.1663067653969; Tue, 13 Sep 2022 04:14:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663067653; cv=none; d=google.com; s=arc-20160816; b=n12otdc8NO4m8PjmLdy9NMckRmknYBfQFzFxSMq/VQ3i2zLuK0q90kTKCF5l0IKGxV yLXt7Djx9MHza4MN4Jg3zPReEv+pmvj95tVSyUEyV+J3kTJiAvDkcv2Y7RXWoM6uyA3B pKrHLFisb5Bit4QG5sNJB3hZq5Oa3yVZ3x3QX9OtENmsqXS1rzV4rmm1TfBnlYXSREcR +ZPn/IsLjOlz6t9Sy1p0nLUFPle0gNhH3FcZB0GQMC1MTfiHAaElxGlWrM+1FZ9TEF4m BzQ7Pr0tL9T4sCzQnJcMHGJwAOtNWfmbjPV+CSbu8+Ylqp8Ye9MTFG6bNHPBNoqeV3NH dNVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=Oac3nih64E0pi5snDdXMh4iMt6lvJM63V217jemxOhc=; b=G6VfcfqGw2DfK2ywZpQr25qSlBWi8AalGFpabPTvSDszxsxBZ0nAFTb7dKwME0JQ7v r3BfNXQ7CmDo/l+wkHmegnZgeeiffV9TXISiSwjWwyMCIWpl9F1Qjfq8TZYbXH00gJRZ /Y/KJf9R+CXvRd6qGTGCYfz4VPpsIJjV4NNoG+glRF6Rt1fDyuHucaWCB3/miMDx9DZC +jZ/ybvWfY3Pt78rX8FcJyz7a5+VQfbxGZ2dCOrRgSaTloTYG+RFvuWEAS1kq9GAR7zv 2JurPw+J07+7lWmqwivAcj+RQkhdVN7oSB/GR79vSZCwAVQMsmlUZfRbkxPdMSLDr+9i Y34A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=dhPTSi3G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a0564020e0f00b0044e5fd7cb20si8112389edh.145.2022.09.13.04.13.47; Tue, 13 Sep 2022 04:14:13 -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.dev header.s=key1 header.b=dhPTSi3G; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231665AbiIMKfF (ORCPT + 99 others); Tue, 13 Sep 2022 06:35:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231617AbiIMKfA (ORCPT ); Tue, 13 Sep 2022 06:35:00 -0400 Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5768C10FC8; Tue, 13 Sep 2022 03:34:56 -0700 (PDT) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1663065294; h=from:from: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; bh=Oac3nih64E0pi5snDdXMh4iMt6lvJM63V217jemxOhc=; b=dhPTSi3G/hlnCI2RbLxXw/uXLx+5gnjunhauhgmpG3H3TXa2adVMGUgVjhp8+NV35PezOS ZthAY2vp1IUzGtcU4o7gF3Dt+JwNU20LbBQsGnkUkiIVZH5u/mugUZjMjXGWSX4iZo3w3q 6dWKZU9ap4GYETodLLRP5gHlRPbP/kk= MIME-Version: 1.0 Subject: Re: [PATCH v2] mm/memcontrol: use kstrtobool for swapaccount param parsing X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20220909084647.3598299-1-liushixin2@huawei.com> Date: Tue, 13 Sep 2022 18:34:40 +0800 Cc: Jonathan Corbet , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Andrew Morton , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, Kefeng Wang Content-Transfer-Encoding: quoted-printable Message-Id: <128547F8-DABA-4548-82F5-0707A3614084@linux.dev> References: <20220909084647.3598299-1-liushixin2@huawei.com> To: Liu Shixin X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 Sep 9, 2022, at 16:46, Liu Shixin wrote: >=20 > Use kstrtobool which is more powerful to handle all kinds of = parameters > like 'Yy1Nn0' or [oO][NnFf] for "on" and "off". >=20 > Signed-off-by: Liu Shixin With Andrew and Michal=E2=80=99s suggestion. Reviewed-by: Muchun Song Thanks.=