Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3144373ybk; Mon, 18 May 2020 19:29:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/XsBbvoGgZZdQBhZpoXubaCTqzhsjB43zMv+sNLsqHy0tAEIOYauuygNbaVG/QKyTf4ks X-Received: by 2002:aa7:d35a:: with SMTP id m26mr15956073edr.25.1589855389446; Mon, 18 May 2020 19:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589855389; cv=none; d=google.com; s=arc-20160816; b=OKuHdwt/x6yMQzPsgxQWlPBNFRP0PBYP3ExYIhM/8ezUWYKf/Vi6SqtKynN0cX5fjm TN4K1wPekYP+q/ylLyNKe2LdySx4gM/MO0YqafsI1N/uKBP53asoUI5u9df3m2Qckc0f HPyWxjTPpnVt0tmVGAk2Zpg66uZM3W0SJ81bNMwYMWNtsFEf67UAfib39Mm30vzgBCN/ bh/6qd89gaXTkSVV7yKV/rkWDNyZ5RT7JJgVo2oioBBlwbwogA15hbJ6f7AYzp+5881E Qv9LEUpcr3pWCe8x8wMtmr0MEpBFflApobS6Ge8TT8HHcvlLm6k46TAFXzI9l6HtTFQk /hwA== 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=xIbyfEVfNhDzDf6khLyqSfG9Nt0s7YrzEMxFG3zAGv4=; b=PeL07DNz7z8GB/+k5bwoZGPP0SQoAq/N+Pgkh5L79brUZKs/NmRbQTGlaDKCZss5Qn m/vpMAI/5Ufnl4nb1ixVhFJpUgLEKEgB41j+oPG6Tb4B+Wzt1PG6xyuw5gBWCnBl9n2p 6kic5u3hUHibNZ76AUPlwuzygQBZGSVO9Dqu/PBmmCAjBrv4gEfR4lTCEUa1QN011xv6 0mvUmw9BHrAmIrI74HzcsIe7EAQuXg3s/LFOcQ1iJTAd3UZdxriA5zGkCydojF/I07g7 JcYTsf9FoW3CVa0yYxJuFKWr2cErohN+jtC6AwS8AmN9og8bxhAlrnX14288YyOZHYLY H49g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kieAlXgs; 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 y3si7422675ede.27.2020.05.18.19.29.26; Mon, 18 May 2020 19:29:49 -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=kieAlXgs; 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 S1727899AbgESCZ0 (ORCPT + 99 others); Mon, 18 May 2020 22:25:26 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:54977 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726628AbgESCZZ (ORCPT ); Mon, 18 May 2020 22:25:25 -0400 X-UUID: e8ae0a43571943bea2af57b10e57c510-20200519 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=xIbyfEVfNhDzDf6khLyqSfG9Nt0s7YrzEMxFG3zAGv4=; b=kieAlXgs5h++mqzwTBrTJaQU0LTavLYBRzEY+vho6etdpxHOidQcXTsJRiPjfwSC4+tFIEIpVedi2o6hJKr1COpkNqWqPZtVmaXy41qFOnTAMnLnOBhEBHUGCSdbccFN5UIfwJPzWBZibbApfGnvwGM0Ujw6ueXAaknQjffOUxg=; X-UUID: e8ae0a43571943bea2af57b10e57c510-20200519 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 512744146; Tue, 19 May 2020 10:25:20 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 19 May 2020 10:25:18 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 19 May 2020 10:25:18 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov CC: , , , , wsd_upstream , , Walter Wu Subject: [PATCH v4 2/4] kasan: record and print the free track Date: Tue, 19 May 2020 10:25:17 +0800 Message-ID: <20200519022517.24182-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 TW92ZSBmcmVlIHRyYWNrIGZyb20gc2x1YiBhbGxvYyBtZXRhLWRhdGEgdG8gc2x1YiBmcmVlIG1l dGEtZGF0YSBpbg0Kb3JkZXIgdG8gbWFrZSBzdHJ1Y3Qga2FzYW5fZnJlZV9tZXRhIHNpemUgaXMg MTYgYnl0ZXMuIEl0IGlzIGEgZ29vZA0Kc2l6ZSBiZWNhdXNlIGl0IGlzIHRoZSBtaW5pbWFsIHJl ZHpvbmUgc2l6ZSBhbmQgYSBnb29kIG51bWJlciBvZg0KYWxpZ25tZW50Lg0KDQpGb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