Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp742189ybz; Wed, 15 Apr 2020 17:59:15 -0700 (PDT) X-Google-Smtp-Source: APiQypKwvPYE8wmMV6sKjWS1ZmOkMxg01NZwJqKwz1qMX/w/GHd8HOWb2T9yu8sPFIybkA0fhu5M X-Received: by 2002:a17:906:5045:: with SMTP id e5mr7570585ejk.325.1586998755058; Wed, 15 Apr 2020 17:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586998755; cv=none; d=google.com; s=arc-20160816; b=u2OnSd78ByvQUKxHk/WJMJOQPZmEaorM6H80b/3exF7DQjyNtzjNx8CF59pveRdgYi edPmGUd3k4OgW4CgLfVvWDHCmX7q4ecojMiz7eH3U3f/aCq4QfjgczDiYojPvuM3Qqmz u3H58XewlMKA0A/suCg+QccF9ENxhSlJpsoXcWs8SyuQCF3KJYVvOs8VP29FCZI6eDr7 soLCHEeYbHYf+Q/7VyR9nys1p0lXQzcqxYKzH2o4u2+MDE5SK6KZ1IqxtLDJtP46/X2A baSAhAXoWmg+/FCxq6f4i93B2LcxK+3pMBBhPVABzOjKYlOYzJnEHJoEyxLU86HifimO Zi+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=acZ0FR3Ieh7QKceyUMnt7yQIXSOW4wSevSsBNkvC3yY=; b=bRAo+2AauP8A5jKloUj3hoJluFGWEj1n05puZvHbWD6c3L+QtVdygY0qZnaH1zjUWW Wl+ZAT+vcIDy2T14fOqc7dTjE+Oj5XuTVGjtEdtwBFMlVQ9A4dPv2orFnv9sBVVle5I2 QHN4NPs9jbfOBsb5qASjylXcl6HJ7zphxL2zvncz7qgEhmQ9Zactqj1elKOHll4+QWwE NwAXhEU1Z23fxRNWJ/POzTLl75LXWE1m1gwpNlVedKWM5C0pB0105BOQc/3UhEtsukxA ztojuU0snb/3HSjiz2eixRNAWlQci5i5T9ASm9YuyyzwH7IzEiLjN0B80oOHcMT18y2L N8xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OcGp2P7a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f8si6829247edj.479.2020.04.15.17.58.52; Wed, 15 Apr 2020 17:59:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OcGp2P7a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437868AbgDOTNb (ORCPT + 99 others); Wed, 15 Apr 2020 15:13:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1416867AbgDOSuQ (ORCPT ); Wed, 15 Apr 2020 14:50:16 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E332BC061A0C for ; Wed, 15 Apr 2020 11:50:14 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id d17so1170697wrg.11 for ; Wed, 15 Apr 2020 11:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=acZ0FR3Ieh7QKceyUMnt7yQIXSOW4wSevSsBNkvC3yY=; b=OcGp2P7aJP3bMCEg8pIVH8PXXpdNafa/GJJnSsMtIre5Zx/sQLaHdd/YDq4WnT5UQA 5pwA3RNANZlGapXagIIipaVuptZfympHucJW00kQOhTTM/EfxkIAvFsmhn/dBPWfYAPt gp4Q6slzNzbOWtLTGMZY7mJdTrNVua8+KKfzChDL2JRbqG5FGDJQVGILLwvlP97szInC ikjzF76An4mNYrbbq33d63Zh0aFhMXaV1m/Tw18tYaJYFQIMVFWzjCtmioj2TB+8elfs 47JYSkQhNW8T4DOk0cOIXZ607w/I/yt6E99hkMvllsXavtk/ozMFO7lkUekxJO6lIu4D KuVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=acZ0FR3Ieh7QKceyUMnt7yQIXSOW4wSevSsBNkvC3yY=; b=UiL3Z2LhF5NmPI6r0aBJPZINYWU0ME1QMJcCfQwyVzGSAYrZ5fzTcj4ofHRTuBu59c kRmkt+rr8SL1TUeRypQ/e2d+LZh07b3ANqIMkPKUzCR6fXGpExOmEUjKjCXoXTT7r+U8 ueQHa6Y7dGpuyfQuXB/leU38D7ry5ISNd6FpYz5mOixY0kOcW/NxKW9gYXRTW97riroz qqcRV/QbJjESybR+sC6VK02BgoQywnS9GaOVgupFHDSGeH8jWhgqM4lA/UlpXXxlmikS cAwkovbha8v+OH7LfGmKKf7uGEBfnX4VX4oVmDIpLW6KyatP01xnt70vYnjIFtgMZmLY BaqA== X-Gm-Message-State: AGi0PuZSW/+EmHlNKLhQyvU2veJkyfSUYqhMQvW2ziZTpcwKuyuyqzZe YpbcmiezRyo9LQu0mt1FolmJSIspbA== X-Received: by 2002:adf:f34f:: with SMTP id e15mr25631800wrp.275.1586976613385; Wed, 15 Apr 2020 11:50:13 -0700 (PDT) Received: from ninjahost.lan (79-73-33-244.dynamic.dsl.as9105.com. [79.73.33.244]) by smtp.gmail.com with ESMTPSA id w7sm24757618wrr.60.2020.04.15.11.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2020 11:50:12 -0700 (PDT) From: Jules Irenge To: linux-kernel@vger.kernel.org Cc: boqun.feng@gmail.com Subject: [PATCH 0/1] Fix context imbalance warning Date: Wed, 15 Apr 2020 19:49:36 +0100 Message-Id: <20200415184937.32373-1-jbi.octave@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patch adds an annotations to clear_tasks_mm_cpumask(), the function registers a warning of context imbalance when built with Sparse tool. The adds fix the warning. I also tested it and I think it is working fine. I will appreciate any comment if possible. Jules Irenge (1): cpu: Add annotation inside clear_tasks_mm_cpumask() kernel/cpu.c | 1 + 1 file changed, 1 insertion(+) -- 2.24.1