Message ID | 20240731025526.157529-3-ptikhomirov@virtuozzo.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AC01C3DA7F for <linux-mm@archiver.kernel.org>; Wed, 31 Jul 2024 02:56:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 08DA56B0085; Tue, 30 Jul 2024 22:56:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 03C446B0088; Tue, 30 Jul 2024 22:56:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DF7146B0089; Tue, 30 Jul 2024 22:56:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id BF9956B0085 for <linux-mm@kvack.org>; Tue, 30 Jul 2024 22:56:04 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 7D042A3674 for <linux-mm@kvack.org>; Wed, 31 Jul 2024 02:56:04 +0000 (UTC) X-FDA: 82398533448.22.40AAA7E Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2092.outbound.protection.outlook.com [40.107.105.92]) by imf14.hostedemail.com (Postfix) with ESMTP id A948410001C for <linux-mm@kvack.org>; Wed, 31 Jul 2024 02:56:01 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=virtuozzo.com header.s=selector2 header.b=oqxFhf+K; spf=pass (imf14.hostedemail.com: domain of ptikhomirov@virtuozzo.com designates 40.107.105.92 as permitted sender) smtp.mailfrom=ptikhomirov@virtuozzo.com; dmarc=pass (policy=quarantine) header.from=virtuozzo.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722394518; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ylIcNosXLCsrQL6Zby7xoIxqUyUFerSwRfdsQ1cn3mc=; b=QHoJ2bPw7Rfy2iPX/VtKl66hijQPRzyKlCNFN6mEb0r8ImgujLUhnkLslGYJYl0spe0n+5 kIATJXjwwigh5m2MqxgNGSV+SGYJ8O5vN+FJDBcMHuMkZ0GMF9qCFabXZsEH41ab4J6OQt h4yZaFtuXS1TzSbmsMTxWcSB4t39SZI= ARC-Authentication-Results: i=2; imf14.hostedemail.com; dkim=pass header.d=virtuozzo.com header.s=selector2 header.b=oqxFhf+K; spf=pass (imf14.hostedemail.com: domain of ptikhomirov@virtuozzo.com designates 40.107.105.92 as permitted sender) smtp.mailfrom=ptikhomirov@virtuozzo.com; dmarc=pass (policy=quarantine) header.from=virtuozzo.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1722394518; a=rsa-sha256; cv=pass; b=V31AqyrqVXH3Lx139BJse291jWY3tHhxYF/0rpAYU2RSK5cwWlrEeb+miZixE+R99MxsrU ZNndiVY9hHZboTuR+LxLhH2NfW/CdIqdvmQiyDv7av9ZXg94Ee+JnC+fwKOTEpIFOlNLfl MRtbhIIvbNW2H106QSNlrDgSgyzNrTU= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=j2FEQaSAQFnqmsSK7w6u6Wps0JfR7/pcCn7ijZKBZ5K/L2E12KgNNWhAuTZYClT6NR384ppi3EcN45LUeMeDKJHjNh/ocyGMLi1YCvdTAK5IvpGp5HRCBmLvi6Z6dccQhPAI5TFIHef3GocWjTFlVsgZzV/akqaXEnOGiihAZTQVyB5CFb+XDaZt0prmHaRZ7Ka9g/feI6Oq9Zk9CfVWg9iuwLxDjq7kGf/G7+mM/OXE7rkrdX5Bc6AMPDGfll2p5mVrCCy6nG9tR/X8AuyXdgpCeJbMI+9wzhaCI4I4CWtIdsFMFFstF8RknlfElpxTHmdhEzP1aHS0wZN65P6TsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ylIcNosXLCsrQL6Zby7xoIxqUyUFerSwRfdsQ1cn3mc=; b=mrpTH+5H8HH+dKjKe9YNh5GEVpeC0l/rdQTJgxZdeEMtwNP6ICf/WTbhduCYwwjd+IYf9wvTIGNCP0RZJxo+/ukesnHzKVxn9C+W7vEnYqewWiws6DSq0aNnelQ4XdpBBa58fRv+OYQYuWAxyKtp7ONyObl5lt8X0uGRetyES65Pb+A7/isqCn/wBuMT3/6RWUReln8gk+PyXYnhXDAJJEujuzLHbS9g2QResF3jclpWUEf3YBKIrt4QaxJzUB9JBDRT3+x1hXS+7+gJBBnMOEjJ2qCe5JD+ElqLvpedAK3P9Ro6SMvwohYDXraukTo7nTPQxBbZqq5aKM9vsUsSog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=virtuozzo.com; dmarc=pass action=none header.from=virtuozzo.com; dkim=pass header.d=virtuozzo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ylIcNosXLCsrQL6Zby7xoIxqUyUFerSwRfdsQ1cn3mc=; b=oqxFhf+K4ZtFh2rBjKc95dkE1tIp4RAfsRHL5h7VcHHbwp6ah6nGsC6LSvfMWjbBppYGIx6nQaxpTb2QpKhutSnAwr0qGM8gWkNM+Y/yqrq9yEAhqmzAa6twsrJsETj4/sRIetZZvqMJCKRRXfMNRNmGW/wjVNVSF0RjNpMHIXlFjqPoG6abt11qpQHGAvyYonJAlufjy/m8CUFavHl4pzZmLmowIlBLHUqWtHVadzIbo1rDkyUm/i10PAR2sRmZWmEpWxK0hDm9ojHdzX1bxbJdUcU35lUuF00RCaOfbzivi1NdHKRXws2B+2PYKDdF/4l6ox3rXC6OlvUSlQUutQ== Received: from DU0PR08MB9003.eurprd08.prod.outlook.com (2603:10a6:10:471::13) by AM8PR08MB6483.eurprd08.prod.outlook.com (2603:10a6:20b:315::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.21; Wed, 31 Jul 2024 02:55:48 +0000 Received: from DU0PR08MB9003.eurprd08.prod.outlook.com ([fe80::7261:fca8:8c2e:29ce]) by DU0PR08MB9003.eurprd08.prod.outlook.com ([fe80::7261:fca8:8c2e:29ce%4]) with mapi id 15.20.7828.016; Wed, 31 Jul 2024 02:55:48 +0000 From: Pavel Tikhomirov <ptikhomirov@virtuozzo.com> To: Catalin Marinas <catalin.marinas@arm.com>, Andrew Morton <akpm@linux-foundation.org> Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Wei Yongjun <weiyongjun1@huawei.com>, Chen Jun <chenjun102@huawei.com>, Aleksandr Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>, Pavel Tikhomirov <ptikhomirov@virtuozzo.com>, kernel@openvz.org Subject: [PATCH v2 2/2] kmemleak-test: add percpu leak Date: Wed, 31 Jul 2024 10:54:10 +0800 Message-ID: <20240731025526.157529-3-ptikhomirov@virtuozzo.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240731025526.157529-1-ptikhomirov@virtuozzo.com> References: <20240731025526.157529-1-ptikhomirov@virtuozzo.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR02CA0033.apcprd02.prod.outlook.com (2603:1096:4:195::20) To DU0PR08MB9003.eurprd08.prod.outlook.com (2603:10a6:10:471::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9003:EE_|AM8PR08MB6483:EE_ X-MS-Office365-Filtering-Correlation-Id: a274d873-2cae-4736-eec2-08dcb10c47a6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014; X-Microsoft-Antispam-Message-Info: EQx4JVJrCsLTkPW0JqEmsrnrelIDkSGAmTguDFF/5zZ6ytvKZ7XARTf1nNTEdFOk8vzNkGcvIhTL/sHD7+UUp11Bd/B9dfGZSECrYbXzmAn/9uA5mfYB+XO99Cg+tdu8EDiTMpyOya3a/NujNWucynnL65bxxIz8zlWNweNczAOuKtSOz1qaLWQTyn4fRNlvjZabXuRPMxBxmhSZV93PUH3L6+arnDnXTQ8bRvq9J1SKJKQWtPHCFjkNyqZNW/B0jgB8+a+jLAI5YEqc2oRZSLnDviPtn6pQdzEp3NwEJxs0RuqZ2/LcCX/8+u0z2jEVadxpuRhXpB/WtEbU9sJUqj3XrTlFN8Qr9f0DSjMF2lc0wnLzvIV8rM2wLyQxn5w+NNuepyqCZZUrpuk5uQK8Pkcfzi5ZDV0xJi1WnDCIbCCWeuHnYBr0sFWNdEdzxanWeZ4wC1JPaY1lYMyzpRF/2/rhbQj9HPzJrT81O0LH6p7vnTNnmcaQHhmymCMEignTZlO4pyecZJOlCRopbJpWgY3/p6IrN8R6qm3Wi8RyzK3A37SEJ/q2LpeENxvxf5eiIakmijKv/ThEdT6fX2AK09xuT50v/5TW0OcuRsscZiWJae1DD96+xkafL6HH73FBYsOcKVsVNgC2X5BcDpjbWlc1gxynQIKzAhIdWf9OORf3UOyM+A4QPsksyOPXPuJppU5sMCxqfuHxOxXI4m6Bhhl1bC8+EQqCdpHZb+Q0GHtOw0oiitWEn3TYxf2zPJkO/be/wrKeJgf+/6b/4g1gvFy1ETXEVBEfsiV2NgbNrDPZk4kpqfkje8oEhwR+KVmeIhCRsROX4w1KU8r42TC4nO59mcvDKF5anWqf+KX+vMWiwc+BkJqEfbEgNIv6WtBvDeDh/F4bBQmwwhPPUkrcIjY1928tmsd9JuFmq4sPBXifMS7GB9JwcELyGP4NfVQQSEnjaMCZ3l3Ay9bnaYQ04a4ou94di/cuGBjwLLD9qwlUfsoSuspnPkK3uaSE0IXxjgjeMxqGQAtenV9YtB7XiROtP0+ogpKawI+MkRvVBwH0dYsXsGV2rA8WYF/Sk+z/B7J070J/R4fhEJfrPMICOjIEINVBpg3u5Y663jbiH/cWNwxPlVkBLbsaWpA+OB55mvIGTnqxmOg95pzdij+UDBEAXm9KCPSL0CqYBcEeM7NY8szcsSuH3MB1n1LyymyUsbRRPOJNGUaAHkqhqD4SorR+FMUjcOHxJbK4VN7OP98Snz0lrgCusLhVRJNx122ae8CPbB7Ry7WP5Dbg0DOHlX+9sj/rTgI61G32/SKEtMVdmq+I3SOjD3GmHy2naKJcDkzUL3U9oMsSY6tJY6wfmw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR08MB9003.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oMtIFUlObcbRQ+3gBTGXnK0IMEOoJMqJR+i2292dLUY6yUmfwyLHJhSzDlQjByBoasdtZAQd92s+UfCJNXojhdglKseXfkzUT4DwBpcGLmEFpSvdjFcd4ZRudJgMcrgtogAbPU+hWRhwVoldo0nRM4Zyry3mLHH/mTYiez4fcFmPolDlsN2qVBpsIbudkafg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0QCSbsJW8lt6ub0yik/U9XZfnuTZMc488IJ17vmVo05sf/cucdwDFIsxlav7GNvoHTWeSWs14Ji3WpZpg02NFMHYLt/kavLVN51NNysIRJM30fc2ae715ewVS+ttoagYS+uuJ+fFks4mR/Tw/tLpQyMv5AIi1zjtt/TI0uTJFtGOkoV37lOAccon/N9iWc1CCzhoFy1JjMwspCEvFVtzXPAAq0ZcJRb2cFRz9bd2kx0JU+rkAJRQ1R7Cotjo2Dgq/4VAV8CnJWAeL3jKfVeq6Ikr63HCV2D9kr4uX/B6MyAlVQ/TOOUhKJv6M4xZMQOJvgugtyKrBP0zSUhhLqHTQ2MwnpMLKbn808EcyaeSYYBpJtePEGWUhCynmTQOFbHTULojb6MyB4shCbzWWMAqVRwHd4ImxClBAHQ== X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: a274d873-2cae-4736-eec2-08dcb10c47a6 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9003.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 02:55:48.0249 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vsxJwujtg/zUOEvAWO49yX5oZ/BiYyZ3b5JAkFEiC7CxwODBs/ujc+35IIiPflzDbq859YpO95L1xHW9FrEqRIYUnqf+cD/I4pLdSdn2W/A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6483 X-Stat-Signature: ojkdiqr5eurz9ar3kuctxmb6umn6okzt X-Rspam-User: X-Rspamd-Queue-Id: A948410001C X-Rspamd-Server: rspam02 X-HE-Tag: 1722394561-185057 X-HE-Meta: U2FsdGVkX18b08pPQHMTstQ/TfejAPZ0sZR6625Fu9tavI+oX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hFjuE+7d89D6kUG+p7sY5TwvId+P3yVeQib8cWpSSzeSlasVdnL+1LEJ2Hon4DqoVKHK/mlnR3zgTIlPP55XIrYSoRYZpVTp2ODlOzTYwaAk1mQS8/jjr6aOIHhOeM3Tk0wx9hIpDQG3EJLEy0gA5+Sc2F5Et+cTZS6840n1WOtKyvnIDliAmBcTxJK8P+g3dEinuhSVutHQfatMBeF3Az0k1c7OXnPYpuTwyydjMu9mkuyjjuspdU2Vl5/qSj3yQs4SvQbh6bWbIvg33eVg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
kmemleak: support for percpu memory leak detect
|
expand
|
diff --git a/samples/kmemleak/kmemleak-test.c b/samples/kmemleak/kmemleak-test.c index f7470ed85a79f..544c36d51d561 100644 --- a/samples/kmemleak/kmemleak-test.c +++ b/samples/kmemleak/kmemleak-test.c @@ -79,6 +79,8 @@ static int kmemleak_test_init(void) per_cpu(kmemleak_test_pointer, i)); } + pr_info("__alloc_percpu(64, 4) = %p\n", __alloc_percpu(64, 4)); + return 0; } module_init(kmemleak_test_init);