From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1DCC4C433F5 for ; Mon, 13 Dec 2021 16:44:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=U3n3oFvd/iTgUPpY1Kx3Nl+qeHkreBLOE3BVVA7xhW4=; b=rXn1B43ErQEYCS Xp3m3YctcEzFrF5A+jzYRiMig2rUAMHFhRfULMN/rlFueP7YQQlrKUF7VR2yTrZ6BwlIOdqAb+ktt k7asN0cNmBJYpxZnoiy/kUF+iWZOlFAX4vLqbGETDQfb6D44GwsZ4YpwuKVe2TC2mE0hUWlshNkET w5G0HO3WB+E7SiWpxJOcTResifqrvk4VEoc6ZdCwc/wAlpRWbwqJZim8Y9aaUw/8OA+CYW06HDfcl e55OnB3yBauJdb2PFsYAb3dgnSd4R8Q5N17GOsubHlxZ7IlE08OetD+Vn3a9AAqZNui1WgPmnQL9c fsmquJRkkMaRqhYxXnOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwoPj-00AfYf-Sh; Mon, 13 Dec 2021 16:43:00 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwoPe-00AfX1-16 for linux-arm-kernel@lists.infradead.org; Mon, 13 Dec 2021 16:42:55 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 889AB61185; Mon, 13 Dec 2021 16:42:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87FAFC34603; Mon, 13 Dec 2021 16:42:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639413773; bh=wimcO+QIhOAyjAXutFKJzVaoU5e9PpqUP7V1Ryd2E1k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y3QqiP+z13hiX+gZxXZz/NWZY+OBXONDmvtJm2bEdNIV7ieRlEav7h/qOrXAXdmne R6Dc5SHHjh8jSmcXGpK0RbyP8lriee12MTGV8I+i9zss76ns6wboMHj0sKP55o/OdR UJtlpB9cJlJRwhhVLla606lDu8duWqg5Tn/5koF3xzTt8aJ+iWYiquPY/+VraRHi5i 9C9wN31Nee+j4vqazosizghz81xhEp8iAkIht2DU2l1bgS3ZAbQbJPNhQydxRBH8eA 61yhL3j842B93ktMn6NaVdC8ahli1Iv0cJQupuDHtQpBTZWnrQClfvTA48B61RL0+7 fj43DBOuapNOA== From: Will Deacon To: anshuman.khandual@arm.com, catalin.marinas@arm.com, Jianyong Wu , akpm@linux-foundation.org Cc: kernel-team@android.com, Will Deacon , linux-arm-kernel@lists.infradead.org, gshan@redhat.com, david@redhat.com, justin.he@arm.com, ardb@kernel.org, nd@arm.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] arm64/mm: avoid fixmap race condition when create pud mapping Date: Mon, 13 Dec 2021 16:42:44 +0000 Message-Id: <163941094777.2464379.2692109101400876104.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211210095432.51798-1-jianyong.wu@arm.com> References: <20211210095432.51798-1-jianyong.wu@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211213_084254_136979_64C36DD6 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 10 Dec 2021 17:54:32 +0800, Jianyong Wu wrote: > fixmap is a global resource and is used recursively in create pud mapping. > It may lead to race condition when alloc_init_pud is called concurrently. > > Fox example: > alloc_init_pud is called when kernel_init. If memory hotplug > thread, which will also call alloc_init_pud, happens during > kernel_init, the race for fixmap occurs. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64/mm: avoid fixmap race condition when create pud mapping https://git.kernel.org/arm64/c/a6a6b9aa34e5 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel