From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754605AbaESNBS (ORCPT ); Mon, 19 May 2014 09:01:18 -0400 Received: from cantor2.suse.de ([195.135.220.15]:59051 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753843AbaESNBQ (ORCPT ); Mon, 19 May 2014 09:01:16 -0400 Date: Mon, 19 May 2014 15:01:14 +0200 From: Michal Hocko To: Kenny Simpson Cc: linux-kernel@vger.kernel.org, "Kirill A. Shutemov" , Andrew Morton , Peter Zijlstra , Dave Jones , Linus Torvalds , Armin Rigo Subject: Re: remap_file_pages() use Message-ID: <20140519130114.GA3140@dhcp22.suse.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [CCing Kirill and other people involved] On Sun 18-05-14 00:03:28, Kenny Simpson wrote: > I saw that remap_file_pages() was possibly going away to be replaced > by some emulation. I've used this call in several projects over the > years mostly as a way of mapping multiple virtual memory pages to > alias the same private or shared memory region (to do things like > circular buffers). mmap() > in the case of anonymous memory doesn't work as well since there is > not a file descriptor to reference. > > Would this sort of thing be supported in the emulation, or should I be > planning on reimplementing/rewriting some things? > > thanks, > -Kenny > -- > 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/ -- Michal Hocko SUSE Labs