Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1513962ybk; Sun, 10 May 2020 19:34:43 -0700 (PDT) X-Google-Smtp-Source: APiQypLWiGNiE1P1cwE86KVFo7vNcuJmK34dew3LKdnenW6GpUJozaPXmxKSiKKo/+gcUAelHNaO X-Received: by 2002:aa7:dd84:: with SMTP id g4mr11899413edv.273.1589164483239; Sun, 10 May 2020 19:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589164483; cv=none; d=google.com; s=arc-20160816; b=wzUiAASd3G1YXha9OgT2Koqq6rdnan0wMwuI/6fVceO/F6t5YCuDJatZLZI569q5+h t6pI3JvN6ylJWFgVXv4VCWHFc9jjgdzjPejpvrd/iWwnAde4gkRqpsCciKWm9DN8ZsGC dQ65tsk70OJ3bSDUdw+PtVq3zKR/D7QuIfJ06iEUInFsH0lMyzgrPrpdlqKF6ISLgC4y JAmLrkF4e52Oz1eiTaiEX9X4mTl5sFnORs35F9lT4RmrokJRVwtWOia+EmQPZvIxBuXH sZ6eyhMK+UxhPBXde6LJ8YYl9Aw3zu2RBNH+cc19e6EgjXXBgcZ13HoHHKV8LAfjQ5+6 1EBg== 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=AKvJsme/BN0IY0oO7wwke7B4wAJvK+2g3DFOzBvrhf0=; b=Q7RL/cZQpTo7lejj1/uTvWGHhaae4EYCqSeV+ZopaRvioKTnPWGgtMHQAi1aYH7Q/z ZYuOCNVlsmV2DszghJrtqlV5nFuB/pTRX/NDXFzDLnDrW4vopCRzYa8kFtyYeUMOa8Ak mTWI0LEVzKHbBhOYZmeTKYJ+pr2bnypq0ZdWlYpZvPC55vDr3xe27ZKdGrMh5PZYc9uF z8dBA1tu/oCXmM0LMPVE0a78isJvLj9THqFo04mzOj77nWbyJ/79dId3Afbfa0wqsC4g M2ol134UqIWT/gMy6xEOE9GsB2JsTo7sNWz5p0d5HBVzTz3Jef3OmenUmFeaywNbje5b CehQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=RrigfM2l; 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 me25si2224035ejb.481.2020.05.10.19.34.13; Sun, 10 May 2020 19:34:43 -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=RrigfM2l; 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 S1729365AbgEKCcF (ORCPT + 99 others); Sun, 10 May 2020 22:32:05 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:10761 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729220AbgEKCcF (ORCPT ); Sun, 10 May 2020 22:32:05 -0400 X-UUID: 2c9984473f0248cbbc37d7100aa5dae1-20200511 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=AKvJsme/BN0IY0oO7wwke7B4wAJvK+2g3DFOzBvrhf0=; b=RrigfM2lQhETnypvFTLuZl8aFBr0LH8YjK9jp09D0jR7PKCh1HZX+jDGk2OeMVOss6TqaOv7iOh6Z2sCNtEPO6lqXrjpOw8yIok8j0Lr1lKkG/w9pXaAAyMg69L8nyW/Cq7IVsfDIV1/FxYpI9ollOKKkSo9JbCc4DdoyS7fuVA=; X-UUID: 2c9984473f0248cbbc37d7100aa5dae1-20200511 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1731409954; Mon, 11 May 2020 10:31:56 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 11 May 2020 10:31:55 +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; Mon, 11 May 2020 10:31:55 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v2 2/3] kasan: record and print the free track Date: Mon, 11 May 2020 10:31:53 +0800 Message-ID: <20200511023153.15376-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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SW4gb3JkZXIgbm90IHRvIGVubGFyZ2Ugc2x1YiBtZXRhLWRhdGEgc2l6ZSwgc28gd2UgbW92ZSBm cmVlIHRyYWNrDQpmcm9tIHNsdWIgbWV0YS1kYXRhIChzdHJ1Y3Qga2FzYW5fYWxsb2NfbWV0YSkg aW50byBmcmVlZCBvYmplY3QuDQoNCk1vZGlmaWNhdGlvbiBvZiBzdHJ1Y3Qga2FzYW5fYWxsb2Nf bWV0YToNCi0gYWRkIHR3byBjYWxsX3JjdSgpIHN0YWNrIGludG8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