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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99CF8C433FE for ; Sat, 29 Oct 2022 12:21:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D0A256B0072; Sat, 29 Oct 2022 08:21:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C93016B0073; Sat, 29 Oct 2022 08:21:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B330A8E0001; Sat, 29 Oct 2022 08:21:19 -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 A05076B0072 for ; Sat, 29 Oct 2022 08:21:19 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id A849A1A0278 for ; Sat, 29 Oct 2022 12:21:18 +0000 (UTC) X-FDA: 80073897036.19.64F32BE Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) by imf28.hostedemail.com (Postfix) with ESMTP id C14EDC0015 for ; Sat, 29 Oct 2022 12:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=IfP1Qw2e94i2vcWcWqeSNfaT2mFnnnpFCfGWKZkG+Tg=; b=L8XrnVEvbQEbZSmlFqt8LyKmNC o1mEHhFIAA89yUMZCwvE8whAxfz+r9zcHiyS/br/H48mvUT9Kn3GkgvuYTkZVSPBPGoGkH4CEiumq YJpAInoUjF6s1LpXSDkYW0rVVcDcRaQEgmzgj4lKNwSkAwnC4rpA0JzlmmaA7BE/HN+D5FfCW2/Lc BC7WmLXwkww6wR0F0q8i4F7OUr2/oEaDUxr1CiCoIzWSAQ8jKfPvunYecOGMyOJpItZR7tJVyQSXy KWFvSutV/hh1sh3E4LHra0TO5XndPbeia8spQm2zOiOLLg4pNE6jnxlPutp4NO6TY9RkDOtPrdMyh Xp7wWVcA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ookpp-007LjK-Fu; Sat, 29 Oct 2022 12:21:09 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 4C0D030010B; Sat, 29 Oct 2022 14:21:08 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1CEA12C67A917; Sat, 29 Oct 2022 14:21:08 +0200 (CEST) Date: Sat, 29 Oct 2022 14:21:08 +0200 From: Peter Zijlstra To: x86@kernel.org, willy@infradead.org, torvalds@linux-foundation.org, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, aarcange@redhat.com, kirill.shutemov@linux.intel.com, jroedel@suse.de, ubizjak@gmail.com Subject: Re: [PATCH 00/13] Clean up pmd_get_atomic() and i386-PAE Message-ID: References: <20221022111403.531902164@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221022111403.531902164@infradead.org> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1667046077; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=IfP1Qw2e94i2vcWcWqeSNfaT2mFnnnpFCfGWKZkG+Tg=; b=qcvPFINUr31SX4zx2DjcZ0lzPVJRvhdBT7e8uBNHL1iNCq9FElNGteT7Wk7TRdwrp/dOJ4 CwhkdZWcIVU2uwIVkmRnxa/jREuBuN/KiEQp8UN9fVsgWDJsXYMo2XSzIQKobcRNbrkACO rMNU8/XXr4ZvuWI6cLP+GKQnKm77rCU= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=infradead.org header.s=desiato.20200630 header.b=L8XrnVEv; spf=none (imf28.hostedemail.com: domain of peterz@infradead.org has no SPF policy when checking 90.155.92.199) smtp.mailfrom=peterz@infradead.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1667046077; a=rsa-sha256; cv=none; b=6SZyzIQQ9aHbYyjVWKO0C7KEcwd09qrXn6ArUQDVLr7oQkDzeTNc+4+8hSJNSctRkib2mh eBqV7+K88tPdaJyaiIsQrdd7UiABg93yoks9XJlXyHVHaeRpmbMj+sFbHAlcRHXg4L9OBY OUuDB2Aqyx2mBe+rhTbM/tg4tzlzhIE= Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=infradead.org header.s=desiato.20200630 header.b=L8XrnVEv; spf=none (imf28.hostedemail.com: domain of peterz@infradead.org has no SPF policy when checking 90.155.92.199) smtp.mailfrom=peterz@infradead.org; dmarc=none X-Rspam-User: X-Rspamd-Queue-Id: C14EDC0015 X-Rspamd-Server: rspam03 X-Stat-Signature: j7uukqhk77n1z4ehm7hezw5zo8hmq14d X-HE-Tag: 1667046076-525705 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: On Sat, Oct 22, 2022 at 01:14:03PM +0200, Peter Zijlstra wrote: > Hi, > > At long *long* last a respin of the patches that clean up pmd_get_atomic() and > i386-PAE. I'd nearly forgotten why I did this, but the old posting gave clue > that patch #7 was the whole purpose of me doing these patches. > > Having carried these patches for at least 2 years, they recently hit a rebase > bump against the mg-lru patches, which is what prompted this repost. > > Linus' comment about try_cmpxchg64() (and Uros before him) made me redo those > patches (see patch #10) which resulted in pxx_xchg64(). This in turn led to > killing off set_64bit(). > > The robot doesn't hate on these patches and they boot in kvm (because who still > has i386 hardware). > > Patches also available at: > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/mm.pae Aside from the whole discussions about TLB invalidates; I mean to commit these patches to tip/x86/mm next week somewhere since they do improve the current situation. Holler if there's objections.