Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1695748imu; Thu, 17 Jan 2019 01:35:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN5OSv5Y+SnmuyDSdeblaieTHHjwrlP73hVdsalHEh4OGVj286C+0S+eoBpMS8HkiBBCLbwY X-Received: by 2002:a17:902:1745:: with SMTP id i63mr13939466pli.145.1547717733017; Thu, 17 Jan 2019 01:35:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547717732; cv=none; d=google.com; s=arc-20160816; b=t4R6+DXTa5M050Xkzy4hpB4Pwu2o+kKdJtn1GqxdT9rsstYf+IVLlmeiwr8cuvmRPR u4lU3TFeOL+yfG1pyY7eqvqkYe1a6K+aTUxd1KaVpsmWQXMpni7mokzQG9f9KrCcTrKU ZZ6qWDH024uuPJ0jg4iHPJc61jKbyy5a/AbcDiqdpRZMQF324LO7fMDsG6wupECH5eMr xuqPJnGV8TIer8TZmRVJ8CJbWFWA06ChbmMnbMCMm0hqOy2U8PEf3pV50h2+qYxKJMMO OI2LatLQF0anxpkqShOOCTg2dB6xpGHH6bvuLZQy0qhqCM7y4DwNLV2+tSxLqjjLtav7 Ml7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Y4uxIJ+NmKS4i1/qDFOJcjGOWHA5fYMzGvsJDpvLNMk=; b=0uo8j3s410CGWHrKn4dPaOcZ35rXa1LWalCUcaz8fCjnf4a6BFRmtbjTx0QfS5eqIx sRr28Kwdc9Dbd8vBBk0oFDN39qwyHyUIkJjcJD7SDxvSJiy9bZB2Ndc6DnzQJm5L+7mk 7AzsRPLMuTWFyOycr12cF42RbQ+31n397x8pFlFPR4S2Ey/b9t0WqKH1u1PFa+34NHMJ bnw8RK6dJ2qYZoELWSn+6CTt0/qLcqnPwvwlJC7wXIsfqLr8XXb+bHmb4g0vZxwLF6i4 KqGgr6zafGPTLVXYjdwwSwsuk98nLkekD5sFIDiOxFVBaSrmwkNbQg8NZzSBEyeRSopx uCcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="Gb3Z2a5/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si1136769pgh.299.2019.01.17.01.35.17; Thu, 17 Jan 2019 01:35:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="Gb3Z2a5/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729350AbfAQINc (ORCPT + 99 others); Thu, 17 Jan 2019 03:13:32 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:42296 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726819AbfAQINb (ORCPT ); Thu, 17 Jan 2019 03:13:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y4uxIJ+NmKS4i1/qDFOJcjGOWHA5fYMzGvsJDpvLNMk=; b=Gb3Z2a5/SgLc7y6cDeKRsD6/b UGyiZaiVvFOZBwXSKjGIYRsQNt6oZrxmzioVR9lNQDxgqinTD+S5lDERHN1ve0DaliP4AwKyITgCM A+UCHwHAEEHzqwPGKMUytNEjA1IxycEObBOFm2SKjW9QKxa4IhnfAgppSs+foYr4ZPx9gJsX9BStQ sBlgLXbY4Pr9Ohz+5g94z2E7eFXauAu5PKKbSLuqAPScIthGvavDjNylmSQvJQsT1cvRNkkMqFHVK cfKQWe6maqz0v82+VU2+yFeXHBL3SWB5DG6pWbwzELav8dUpHCYgZnkf3mU7rYJrOR8kw1h8KeQfb TUhbIbMqQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gk2nc-0005l8-6v; Thu, 17 Jan 2019 08:13:16 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 403C2202647C2; Thu, 17 Jan 2019 09:13:14 +0100 (CET) Date: Thu, 17 Jan 2019 09:13:14 +0100 From: Peter Zijlstra To: Johannes Weiner Cc: Suren Baghdasaryan , Greg Kroah-Hartman , Tejun Heo , lizefan@huawei.com, axboe@kernel.dk, dennis@kernel.org, Dennis Zhou , Ingo Molnar , Andrew Morton , Jonathan Corbet , cgroups@vger.kernel.org, linux-mm , linux-doc@vger.kernel.org, LKML , kernel-team@android.com Subject: Re: [PATCH v2 5/5] psi: introduce psi monitor Message-ID: <20190117081314.GD10486@hirez.programming.kicks-ass.net> References: <20190110220718.261134-1-surenb@google.com> <20190110220718.261134-6-surenb@google.com> <20190114102137.GB14054@worktop.programming.kicks-ass.net> <20190116132446.GF10803@hirez.programming.kicks-ass.net> <20190116191728.GA1380@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190116191728.GA1380@cmpxchg.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 16, 2019 at 02:17:28PM -0500, Johannes Weiner wrote: > > > Also, you probably want to use atomic_t for g->polling, because we > > > (sadly) have architectures where regular stores and atomic ops don't > > > work 'right'. > > > > Oh, I see. Will do. Thanks! > > Yikes, that's news to me too. Good to know. See Documentation/atomic_t.txt, specifically the atomic_set() part in SEMANTICS. Archs that suffer this include (but are not limited to): parisc, sparc32-smp, something arc. And yes, I would dearly love to kill all SMP support for architectures like that..