Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp312889pxu; Fri, 4 Dec 2020 04:05:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyEERdI4Kg+RwC6W/9+rWqSS6cYpeuvw9bKeGn11kEmfQOu+dWiqwrbU07KtGAVzIvrzHIh X-Received: by 2002:a17:906:a181:: with SMTP id s1mr6858316ejy.335.1607083545163; Fri, 04 Dec 2020 04:05:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607083545; cv=none; d=google.com; s=arc-20160816; b=yHyKFPQiVt70cyjgDNZYOxxU60BH2+1Whf7WStarDz94XlHGi7MshLYTkwBgRSEUL1 rF/RL2Fk8DTDNkzweJchGAbhrghKlL/HjNm4mhwPARgJ3dZ4sr9Qtm+DYEeVKFIPH7zR BbYm+QkWiKYhC4jHjzJAx1ROZHuckLnJjnlahf1nSM3tHR1G6IqNBOPhzehqy/hH4JCi /Smr89AAUUeZtgqG/epHJbAZM7YIJkxAwwNm+83la109LVPoTpQFT3+7kUXv1mS/dX47 r8LHOTaoGB4qQhpieIl099S+Iq7Su+QSwBt45EZL/MhpDzqdQrKDW8kofvHwxnuLL1Xz C+0g== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=dVCInG0+zFay29/zF5Qgk8PnqNpkCmMd63za3Ohahxo=; b=RzcxXrcfyjVs+/qrtlpCkT6yexljodAJFfLK5xLRYbHSpr5Wcbm/cvwIWvhpz32tSU 7UcFko6JQPoB4KJ8tU6v8RUtJ1R/11SOI0oYtWr9gYEUZk2b+br6JDWb6ZDMxSE4pjtd 8+fRWdOvlbZmq83h4cyqIpDzbqnmbDVcxmE0hJ+o2Y+26sx9BlUGS3BU8yKrp3nChuYB E7QocmbmZtC7z1ExFXtcjM3r/eFVQLvnXYAsr69VzQc3oMgo+EvnUO1McyGjGJWLQCnE ifaMF1IqA3V54hKVkqMiWgMsRHFymcVIhvRvgOmr+JML0FH0uYTpj80Y9kM4VU3MrfFp GglA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=JJFDFWVM; 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 v4si3476222edj.57.2020.12.04.04.05.18; Fri, 04 Dec 2020 04:05:45 -0800 (PST) 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=JJFDFWVM; 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 S1728666AbgLDMCU (ORCPT + 99 others); Fri, 4 Dec 2020 07:02:20 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:41413 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728490AbgLDMCU (ORCPT ); Fri, 4 Dec 2020 07:02:20 -0500 X-UUID: 7f691940b8a84e01adf499202e90c387-20201204 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=dVCInG0+zFay29/zF5Qgk8PnqNpkCmMd63za3Ohahxo=; b=JJFDFWVMB/j6US1p7J4UwV6+Yi/wBiL5hUr7CpiliwP4fGf/saQJFUdt1jXvd8JrtIMajIP9+JpdvVEghDUCn5D1wDmQFdjVi9MdbuUklPDzr+6nQjG8BaALMsZuKxMUpzILhA8D4pmocBm7SvdZFPocA3m1O5kuxK15FSI5AZA=; X-UUID: 7f691940b8a84e01adf499202e90c387-20201204 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] 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 133938143; Fri, 04 Dec 2020 20:01:36 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Dec 2020 20:01:32 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 4 Dec 2020 20:01:32 +0800 Message-ID: <1607083295.22062.15.camel@mtksdccf07> Subject: Re: [PATCH] kasan: fix slab double free when cpu-hotplug From: Kuan-Ying Lee To: "qiang.zhang@windriver.com" , "sfr@canb.auug.org.au" CC: "aryabinin@virtuozzo.com" , "dvyukov@google.com" , "akpm@linux-foundation.org" , "andreyknvl@google.com" , "qcai@redhat.com" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Date: Fri, 4 Dec 2020 20:01:35 +0800 In-Reply-To: <20201204102206.20237-1-qiang.zhang@windriver.com> References: <20201204102206.20237-1-qiang.zhang@windriver.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIwLTEyLTA0IGF0IDE4OjIyICswODAwLCBxaWFuZy56aGFuZ0B3aW5kcml2ZXIu Y29tIHdyb3RlOg0KPiBGcm9tOiBacWl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