From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D6549A00BE for ; Wed, 20 Apr 2022 16:49:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D20214161A; Wed, 20 Apr 2022 16:49:07 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 6D02D40C35; Wed, 20 Apr 2022 16:49:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650466145; x=1682002145; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=ZqEPHcrQuPviuCoCR5YgzN+l5PApC00xEmvFovSYP4A=; b=OFc+iHMx4OYuWjnhaVrbtrv/IDABdsH4It51Yk1F4yllcTx4+aFoYAlj o76XxTfQZdkYJLwgB1XtrAOvUSbYfz/FzvzCkyQaOYhSuSlGyzsvr0rbj MXODL2CxUUlwQPoO5nQE90nUxJWmQIwBBKVm0Klo3517IlgC63RmXrrh9 8W7PRU3LlBcrjSYNM4xHJuZ7m3e59LVAJhfAoudcJ3M55sSOAj1iM7gIg Z6IzTjQp7FGdpS1lkGLP5fetYP0fJeaUaODlRD3W9kFzC+OPVvn2NQV2x hIIAIqJxTOo3UO3HzvWoahC9cEkde6rCvdLctbV8j5rLkCcI1XWVnArr0 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10323"; a="243974801" X-IronPort-AV: E=Sophos;i="5.90,276,1643702400"; d="scan'208";a="243974801" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2022 07:49:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,276,1643702400"; d="scan'208";a="668687159" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga004.jf.intel.com with ESMTP; 20 Apr 2022 07:49:04 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 20 Apr 2022 07:49:03 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 20 Apr 2022 07:49:03 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 20 Apr 2022 07:49:03 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 20 Apr 2022 07:49:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+83YoTTZ+TkL3y073PN0jRLAmbp2XRc6iKJJAs89omfSW0NXx6W2OoydnvgEZoy34cQgbbzVTRcPD1JIlDr//+4a+i+hoR3CY+/AK7aKtXbJOvVxr85xVWAqHC2NLU2Doutc6yb4pErEzawyy618ZklVJWqJiIVE9l4RJ3OkDnp9AZxeXCtL8sN8H81ncZ6C8uDJB4AUEoeDlPrJM0qbqAeahIS/krc4mtHXSelY9Xqge0d7MzD6D+4e6IXZ2QlREXSyHQp8WdwMvbWNKDKxZnnyB3YrxNEu+UDyuzNm6CyxZt6NAScTcZ45qyUp+TP6A5X53Bgt4GvA9CAb63EUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=UD0ThC7eCy8gcu0s9HyLhEszoaYx0603NhiWIJxSo3E=; b=fkeSGKGOSIahzoW76sr8zdkCe0i8on7d31lgxdXqg6V3HCutw8IPObSgfD1IIaVnJrU6mAX9vxyXUZaIMFRKfcX5pIXW/6VuAmKvw5FfYyFO8O9wt3L+65F9QL2vOjBDqRc6Nd3cLJn+akbJG5NpAeIzrU7Zb4rl50tM6U11KiSu/mQlTVcmjcfWvV3oWwSEkeXH8tPOP0fv2jNBFG2Td9AlASF5SmDMQgnm+SQASvalXIllx1mfB63vnrpO/PdP6TNG712sSajFsZcWrR97g0IYQIfOVd25xWREg24efFbwCKgsQn5qNj1Yj+K8fPbTEagtNi5stzMAplFMcisLCQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) by DM4PR11MB5502.namprd11.prod.outlook.com (2603:10b6:5:39e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13; Wed, 20 Apr 2022 14:49:01 +0000 Received: from PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::28af:8ec5:1817:1af1]) by PH0PR11MB5093.namprd11.prod.outlook.com ([fe80::28af:8ec5:1817:1af1%3]) with mapi id 15.20.5164.025; Wed, 20 Apr 2022 14:49:01 +0000 Message-ID: <0a136085-46b0-8f66-5b98-3203a2fe2e76@intel.com> Date: Wed, 20 Apr 2022 15:48:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.7.0 Subject: Re: [PATCH 1/3] test/mem: disable ASan when accessing unallocated mem Content-Language: en-US To: David Marchand , CC: , , , Xueqin Lin , Zhihong Peng References: <20220415173127.3838-1-david.marchand@redhat.com> <20220415173127.3838-2-david.marchand@redhat.com> From: "Burakov, Anatoly" In-Reply-To: <20220415173127.3838-2-david.marchand@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2P250CA0002.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::7) To PH0PR11MB5093.namprd11.prod.outlook.com (2603:10b6:510:3e::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2bc92e29-fceb-4a9a-2102-08da22dce848 X-MS-TrafficTypeDiagnostic: DM4PR11MB5502:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hEES1SqOYTK5mMiCnEU3lvmpzoOZUb+UmGUa5nlBnEJDSKNNHd0XKNszq84WRDnOdBuLWNMxDT0GVth5leng5xBlywxnl5hWfiutHggod9XBejKdLmavXw2KSXmW4+Gf0yIJe2jaANEd+NUa942ZajY3owz1clhq7Inpmc9indL0y68qmk1mglAkkJuSyNyQA8MprXCvN/9r3fXEPqnm48s3BI5HjlnuO2B49jSvZVJWVA/p3801E7RBZ6o7/VOnR69KrSu88DrtwHKMYeAjDV49raUgqpdRJu1iu89BE0DIsR7IaZwYE6RLh1rQUDvCr1488c8WkGH2eyCKibau8jgVicwNWgKEatxDaH5KxusPg17QgsCI4+hgsbGCnL7OoN29SBozigyEwUTiHEQHXe8moIE1rN2bqod7uLIjdV9EhC/0mVi1jY94gFPfK5G0wcWOHd8yHd+oPiq1QNpmhU+pQ38hxI0k+6MHdaj0+cyS68vEZagvXel0pSR/2/ByrOVfAeDojSXzFOyq++eFGZP0NYQ53bdVLyS2BOoa++MjojQmu2G/lCwoDsIJ7M+N2rfqpxQ4hT9cMoL6cy9QT5xCGMSEChgHpt5tAqXhXVmG3he34/reJVkpJuBuP5lMNr+FpG7eu9m/mqpKtn00Gcya4yhxYMzj7ov/t9Fps6cZ8hnHkauoNvQ1Hi8OoMHUQ0P/0d9B+O8rYM/1s3m9Y3C/C03zAtBoQLrU6dohKjM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5093.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(54906003)(316002)(38100700002)(82960400001)(2616005)(107886003)(31686004)(36756003)(83380400001)(5660300002)(2906002)(31696002)(6486002)(508600001)(8936002)(4744005)(8676002)(186003)(4326008)(53546011)(66946007)(6666004)(86362001)(6512007)(66556008)(6506007)(66476007)(26005)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?c2k5d0xLbTQzTEo2SGVRbHdhZVk0VnlUcXZzMDFaS08yWXJwRDR0UzRIYjNu?= =?utf-8?B?UWYxSHM5SnZkVTFMT1NJYmpyZTdsdXQzNG5hajkrYXA5N3poU0ZMTUpSR3E1?= =?utf-8?B?TGNiMFIzbHExL3FWZzhEYkZoMlFQMjM4cTFpQmNubk00R25XdVpuVUQwZ1lr?= =?utf-8?B?a1RydTlKMVBnRkNpNmkyTm5Wa0xZdCtxU21FQzl5TUQxNi9iRDlaOWFDdG1Q?= =?utf-8?B?Q3lIT3BQcENJUjRMaFdZWHBLQmhkM2tUb01CQ2FBTmxMcUxZZzlqcjRiaDBw?=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YRldEZXRxQThQMmNN?= =?utf-8?B?eGk5QzBnOW9qcmRqSVhNajBPUXRzMkVPSkRLV0JLVVFCeEFKdU5QYW92NVJu?= =?utf-8?B?NEV5aVkwSy84ME1LY08rU1djYndremtsRzNIZkEvZnRub1lZN1pDTmUyVXJP?= =?utf-8?B?N0loUzBHYVhWcXV2dkpHZWhpeDU4bG1SU2U2MTAzQnZ5ZVViZ2g1QzFGVldS?= =?utf-8?B?czVZbjdweEtyQS9RTWNEcnE0b2krQ3Q4Qzl5czFzSExrY2VMQWVkc2tqSGY2?= =?utf-8?Q?QtcI4EcIqLgYS1tA=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 2bc92e29-fceb-4a9a-2102-08da22dce848 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5093.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2022 14:49:01.4192 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lhkIicnE242PnYCe8HqtcPvB0U4N+NnW244YsiIbFd4N/OeUqlFjovuAIy474XUqS1W5xYLEQnVoWwYSr6Pf8+gNBlIDShM6hmh4pobyoXY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5502 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 15-Apr-22 6:31 PM, David Marchand wrote: > As described in bugzilla, ASan reports accesses to all memory segment as > invalid, since those parts have not been allocated. > Move __rte_no_asan to rte_common.h and disable ASan on a part of the test. > > Bugzilla ID: 880 > Fixes: 6cc51b1293ce ("mem: instrument allocator for ASan") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly