Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp27509pxk; Wed, 23 Sep 2020 21:11:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH97sN8oUGrhF+TwqkKylCa6N0T8OUTDM73yn6BwmMvjvKmiJPrOVONWN38kchwX4YK03f X-Received: by 2002:a50:fd83:: with SMTP id o3mr2543291edt.176.1600920702375; Wed, 23 Sep 2020 21:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600920702; cv=none; d=google.com; s=arc-20160816; b=ia/xzLzRrEh8TzPvwwdAeHnEvpo78Lksvxr772GUxCEYyILoOlWcZKL6ad9mo5WT9+ 2AFCME+neOheOHO+JmrjcVVeSdsW9FqFuGul8lA7BHHHfWgcCIh66QtLqL6h1KULS4Go 1oODrPKS0WDNfaG+xQh3XzDXSlokwXmuKW1ZBhjMrS7ocdFVaElX6ZDnnv943w38s9YP OfjqZ/qBhuT0R8t4uJfOGJMZoIdcXd70ZigebmzVkOPk485h0s+TkX3cWpdDnK24yQUz i8SYPagYTdHtA40Qg2J7/+bwmYHx6+0zXXJcfqb2No6t6J1qJFyuu62Btmims+Ub6c2B CxEQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=yih98KEkzJLkFoWBf8Qw3xVcaUYkPNvBrd8fXNNVY9A=; b=lX26H5B0Uet6H7HdlIb2icZEGbjUxD3EEiF6I3jfwDIJVU756xqaDNqcTUErFBxJ5f ihuWykcnmm7htc981hqnp8R8WeF/0k5a9sEwkEjAhcR8yVjBYMcAvudQEFi2AsVg42bx D0LvkJieYL62L/IketG+St7syVjBAX6fyZrppD3rCjDTF8Ez+RgI3hhFRJVZQb/WwUjL ryVPjrbM0xc9bnVQ6Xoy6BgqtJfp00oyKQ3kfFgXkDWrVkkNuo4FspyI/xjaY9r5vJXe Xt7ON2ZTGNV1vdGhsDHm/QTZDV+tlpQXPVvWW0cYZaqsZ8cJu66WLeU2RfcBvN7sIDSs tbog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Abc3bR3E; 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=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si1449233eds.69.2020.09.23.21.11.18; Wed, 23 Sep 2020 21:11:42 -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=@mediatek.com header.s=dk header.b=Abc3bR3E; 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=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726794AbgIXEJh (ORCPT + 99 others); Thu, 24 Sep 2020 00:09:37 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:45983 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726477AbgIXEJh (ORCPT ); Thu, 24 Sep 2020 00:09:37 -0400 X-UUID: 2c4428be2c694ba0a92af8d06a46805c-20200924 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=yih98KEkzJLkFoWBf8Qw3xVcaUYkPNvBrd8fXNNVY9A=; b=Abc3bR3E6jmrqWBRfsFdGr4CWrwilzbkqUjO0RC7VWu4+N40YxKvJ2hymgZ1YIM2IG7g2XU8PmnfcR4SN45mKMBI62piRxnjTfH5Gd/MUL3p+S2LvL10bCNqaOMjY94WBk9qDSkqxh0IPNiI4cG2iJBVYKzyx/g/ErcSU79elnc=; X-UUID: 2c4428be2c694ba0a92af8d06a46805c-20200924 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1562696609; Thu, 24 Sep 2020 12:04:31 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 24 Sep 2020 12:04:30 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 24 Sep 2020 12:04:22 +0800 From: Walter Wu To: Andrew Morton , Tejun Heo , Lai Jiangshan , Marco Elver , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Andrey Konovalov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v4 2/6] workqueue: kasan: record workqueue stack Date: Thu, 24 Sep 2020 12:04:22 +0800 Message-ID: <20200924040422.30995-1-walter-zh.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UmVjb3JkcyB0aGUgbGFzdCB0d28gZW5xdWV1aW5nIHdvcmsgY2FsbCBzdGFja3MgaW4gb3JkZXIg dG8gcHJpbnQgdGhlbQ0KaW4gS0FTQU4gcmVwb3J0LiBJdCBpcyB1c2VmdWwgZm9yIHByb2dyYW1t ZXJzIHRvIHNvbHZlIHVzZS1hZnRlci1mcmVlDQpvciBkb3VibGUtZnJlZSBtZW1vcnk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