Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2945172ybc; Thu, 21 Nov 2019 00:32:07 -0800 (PST) X-Google-Smtp-Source: APXvYqypdj8fE6TKCu4Ctmn1UaNAg5FI+DA3sZ9spM3Y3OBPWlayXGdTLyLp72y0HAuEjRBxHOOh X-Received: by 2002:a1c:a9cb:: with SMTP id s194mr8775834wme.92.1574325125758; Thu, 21 Nov 2019 00:32:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574325125; cv=none; d=google.com; s=arc-20160816; b=mzMcTBkedwdtL2R+jv71j+Qae7bRZsxVw/jknATbyIErAMVVGzezox0EMFutRPwicB ksU2Fs/oTbyzwGQh1XjPddUGUeFpdrsXSOqw94bCqWaMI3YNUzfpGoAzXqr8hurjdruY W3/8eKGsNWXJhmOGMPhEP/BaMM0SKLoDu5sQcSG3YSLqiRVPYwqhfk/FmJsJNFA1th5o Q13ZwXQwoLDrFxmExAvk1RSWQuhuOvLItJpwvbe9OTYVshEEh4eVLJS7vK3sRk13QBUf AhQjKTPruQPSvsNlDgy135uFVwQZIvrXfSw8DFNgSc9bllQ1gibvN8pVBOhViDKNBKlJ 118g== 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=0Ckld6EwBzz2+Vv2aLPvbwitkSnSY2s1D7AUbqn0zrg=; b=kEDXWrvMlOw6XV1VybcEVmRV8K7C4PwsW9xLuaZawq3JegThavSbTNHO0Z/zTFkGdZ EkVUN+whckC7nEovvzCDQhd6qzEjekHjMmnfIypCyLGA4WA9dr/a4qptZwWQbRtoVPpn rrUf8HRfHvq+ve1QoXgepeDBO92wmR60VJTLmj1io77bS+IzEkV3LYWx1pVJ7dbR7Tzv JZu81/SXYymPFqV0mrn6N0B7Qx1gfVnuIStT0PBCUMON8RhfXqv2W1kij8Xk3J++/Su/ 24jLPeZ8eGzJSICm2PucjZCD5fK5I/Mk7e4vfdOO76W218sWbakCi37tz6UTaVaTGUnG qUBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=i1ke+CB4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si1861302ede.120.2019.11.21.00.31.41; Thu, 21 Nov 2019 00:32:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=i1ke+CB4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726379AbfKUIaR (ORCPT + 99 others); Thu, 21 Nov 2019 03:30:17 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:47827 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726132AbfKUIaR (ORCPT ); Thu, 21 Nov 2019 03:30:17 -0500 X-UUID: 5b0f312b28e8411f8ed7e8ca90f4bd26-20191121 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=0Ckld6EwBzz2+Vv2aLPvbwitkSnSY2s1D7AUbqn0zrg=; b=i1ke+CB4hO9trYn+KlvsKyGptMnYEreF+L2kHRi5BQEeT1Jup1ewWq5B7VLn4GDFN4M3mtDPEFCIhSSkUU52hnR3i/ryJZFxUbV1ek9WYv8Io771D6k9E0iBNZj5GQaSesQuNxn6cuN2/M9pFLbvE1z12ISXPdizbcqbbxjDjzg=; X-UUID: 5b0f312b28e8411f8ed7e8ca90f4bd26-20191121 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1952610544; Thu, 21 Nov 2019 16:30:11 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Nov 2019 16:30:04 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 21 Nov 2019 16:30:14 +0800 From: YT Chang To: YT Chang , Peter Zijlstra , Matthias Brugger CC: , , , Subject: [PATCH 1/1] sched: cfs_rq h_load might not update due to irq disable Date: Thu, 21 Nov 2019 16:30:09 +0800 Message-ID: <1574325009-10846-1-git-send-email-yt.chang@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org U3luZHJvbWU6DQoNClR3byBDUFVzIG1pZ2h0IGRvIGlkbGUgYmFsYW5jZSBpbiB0aGUgc2FtZSB0 aW1lLg0KT25lIENQVSBkb2VzIGlkbGUgYmFsYW5jZSBhbmQgcHVsbHMgc29tZSB0YXNrcy4NCkhv d2V2ZXIgYmVmb3JlIHBpY2sgbmV4dCB0YXNrLCBBTEwgdGFzayBhcmUgcHVsbGVkIGJhY2sgdG8g b3RoZXIgQ1BVLg0KVGhhdCByZXN1bHRzIGluIGluZmluaXR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