Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751987AbbKYPZl (ORCPT ); Wed, 25 Nov 2015 10:25:41 -0500 Received: from casper.infradead.org ([85.118.1.10]:55360 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750928AbbKYPZj (ORCPT ); Wed, 25 Nov 2015 10:25:39 -0500 Date: Wed, 25 Nov 2015 16:25:33 +0100 From: Peter Zijlstra To: Vlastimil Babka Cc: Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Joonsoo Kim , Minchan Kim , Sasha Levin , "Kirill A. Shutemov" , Mel Gorman Subject: Re: [PATCH v2 3/9] mm, page_owner: convert page_owner_inited to static key Message-ID: <20151125152533.GC17308@twins.programming.kicks-ass.net> References: <1448368581-6923-1-git-send-email-vbabka@suse.cz> <1448368581-6923-4-git-send-email-vbabka@suse.cz> <20151125145202.GL27283@dhcp22.suse.cz> <5655CEDB.3040205@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5655CEDB.3040205@suse.cz> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 878 Lines: 16 On Wed, Nov 25, 2015 at 04:08:11PM +0100, Vlastimil Babka wrote: > Now I admit I have no idea if there are architectures that don't support jump > labels *and* have an expensive atomic read, and whether we care? atomic_read() is basically always READ_ONCE(), there's a few archs that implement it in asm with a 'weird' load instruction, but its still a load. The worst is I think an uncached load for blackfin or somesuch. There's plenty archs that do not support the jump label bits, but typically you don't care much about those. I'm not aware of an arch that cannot fundamentally implement jump_label support if they wanted to. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/