From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by kanga.kvack.org (Postfix) with ESMTP id 66C6B6B006E for ; Tue, 24 Mar 2015 10:32:50 -0400 (EDT) Received: by wibdy8 with SMTP id dy8so76591262wib.0 for ; Tue, 24 Mar 2015 07:32:50 -0700 (PDT) Received: from mx2.suse.de (cantor2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id ce6si6672990wjc.162.2015.03.24.07.32.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Mar 2015 07:32:48 -0700 (PDT) Message-ID: <1427207543.2412.14.camel@stgolabs.net> Subject: Re: [PATCH] mm: Remove usages of ACCESS_ONCE From: Davidlohr Bueso Date: Tue, 24 Mar 2015 07:32:23 -0700 In-Reply-To: <1427150680.2515.36.camel@j-VirtualBox> References: <1427150680.2515.36.camel@j-VirtualBox> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Jason Low Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Johannes Weiner , Michal Hocko , Christoph Lameter , Linus Torvalds , David Rientjes , Joonsoo Kim , Andrew Morton , "Kirill A. Shutemov" , Aswin Chandramouleeswaran , Christian Borntraeger , Mel Gorman , Hugh Dickins , Minchan Kim , Rik van Riel On Mon, 2015-03-23 at 15:44 -0700, Jason Low wrote: > Commit 38c5ce936a08 converted ACCESS_ONCE usage in gup_pmd_range() to > READ_ONCE, since ACCESS_ONCE doesn't work reliably on non-scalar types. > > This patch removes the rest of the usages of ACCESS_ONCE, and use > READ_ONCE for the read accesses. This also makes things cleaner, > instead of using separate/multiple sets of APIs. > > Signed-off-by: Jason Low Acked-by: Davidlohr Bueso -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org