From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751909AbaDAXBp (ORCPT ); Tue, 1 Apr 2014 19:01:45 -0400 Received: from www.sr71.net ([198.145.64.142]:50645 "EHLO blackbird.sr71.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751844AbaDAXBn (ORCPT ); Tue, 1 Apr 2014 19:01:43 -0400 Message-ID: <533B4555.3000608@sr71.net> Date: Tue, 01 Apr 2014 16:01:41 -0700 From: Dave Hansen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "H. Peter Anvin" , Johannes Weiner , John Stultz CC: LKML , Andrew Morton , Android Kernel Team , Robert Love , Mel Gorman , Hugh Dickins , Rik van Riel , Dmitry Adamushko , Neil Brown , Andrea Arcangeli , Mike Hommey , Taras Glek , Jan Kara , KOSAKI Motohiro , Michel Lespinasse , Minchan Kim , "linux-mm@kvack.org" Subject: Re: [PATCH 0/5] Volatile Ranges (v12) & LSF-MM discussion fodder References: <1395436655-21670-1-git-send-email-john.stultz@linaro.org> <20140401212102.GM4407@cmpxchg.org> <533B313E.5000403@zytor.com> In-Reply-To: <533B313E.5000403@zytor.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/01/2014 02:35 PM, H. Peter Anvin wrote: > On 04/01/2014 02:21 PM, Johannes Weiner wrote: >> Either way, optimistic volatile pointers are nowhere near as >> transparent to the application as the above description suggests, >> which makes this usecase not very interesting, IMO. > > ... however, I think you're still derating the value way too much. The > case of user space doing elastic memory management is more and more > common, and for a lot of those applications it is perfectly reasonable > to either not do system calls or to have to devolatilize first. The SIGBUS is only in cases where the memory is set as volatile and _then_ accessed, right? John, this was something that the Mozilla guys asked for, right? Any idea why this isn't ever a problem for them?