From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout04.his.huawei.com (canpmsgout04.his.huawei.com [113.46.200.219]) (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 A2AF81A5B8A for ; Mon, 13 Apr 2026 03:31:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.219 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776051113; cv=none; b=Xyesgca8wK4k9NSXy72AUEnuhSqoOdZT4XUnOECB4sr1s562OYrOYGsJiktH6Z+N5dT8mMCU5RlYMQOXffxJ1Y8cq20ORnxnM7Ej3TmvMkLaBBEORapjbfezsvjluyCBDl3t2GgQ7mpUAiYCxr288SMfQ31F6dR9EjUfvTjQGbI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776051113; c=relaxed/simple; bh=o9C5tTFkL87MRFjidQDLDIDazTFmNqMoRhd7CyqsGoM=; h=Subject:To:CC:References:From:Message-ID:Date:MIME-Version: In-Reply-To:Content-Type; b=U2ZHXU8adnOCcjUCyYIjPoHLCgfBYZKY/X/y7kkbpG/NGPScL6R8ZNqKNkdiIdCKABrmpWhyUCMOrmtzdgz634ENg7MDxAXOITTgdRaOmIDWUz10mzWLn0m0EhCPWim12t5nxXUIGRz5nMttBzp/UsA3YgSirkZk+0rE46IZwiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=OoViFbHe; arc=none smtp.client-ip=113.46.200.219 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="OoViFbHe" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=2ueLlBkmMTgxuYXvfj3WaDX1n42xw4xqdgGRvpbeG28=; b=OoViFbHeEYjIOe9TmoWfe8VsscyZQ/cxdjJruSbTVUYqztZ4UFIhAKQghnPfYRFAIMQYvxWM9 1UcPllNECPTN43FTCWp8sRl6k8zBdpNTEI59i3YgCyfgzgtYN+5oH4oEKxkH97mBiJeNkKFzXoi ksGmPFilpW7TEwDTe/BxQzs= Received: from mail.maildlp.com (unknown [172.19.163.104]) by canpmsgout04.his.huawei.com (SkyGuard) with ESMTPS id 4fvCTY4plFz1prLm; Mon, 13 Apr 2026 11:25:21 +0800 (CST) Received: from dggemv706-chm.china.huawei.com (unknown [10.3.19.33]) by mail.maildlp.com (Postfix) with ESMTPS id 72E444048F; Mon, 13 Apr 2026 11:31:41 +0800 (CST) Received: from kwepemq500010.china.huawei.com (7.202.194.235) by dggemv706-chm.china.huawei.com (10.3.19.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 13 Apr 2026 11:31:41 +0800 Received: from [10.173.124.160] (10.173.124.160) by kwepemq500010.china.huawei.com (7.202.194.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 13 Apr 2026 11:31:40 +0800 Subject: Re: [PATCH v2] mm/memory-failure: use bool for forcekill state To: Ye Liu CC: Ye Liu , Naoya Horiguchi , , , Andrew Morton References: <20260410074740.2524718-1-ye.liu@linux.dev> From: Miaohe Lin Message-ID: <6b58ae30-e83e-02e4-1311-78d7e63649a8@huawei.com> Date: Mon, 13 Apr 2026 11:31:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20260410074740.2524718-1-ye.liu@linux.dev> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: kwepems100001.china.huawei.com (7.221.188.238) To kwepemq500010.china.huawei.com (7.202.194.235) On 2026/4/10 15:47, Ye Liu wrote: > From: Ye Liu > > 'forcekill' is used as a boolean flag to control whether > processes should be forcibly killed. It is only assigned > from boolean expressions and never used in arithmetic or > bitmask operations. > > Convert it from int to bool. > > No functional change intended. > > Signed-off-by: Ye Liu Acked-by: Miaohe Lin Thanks. .