From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 02 Dec 2014 02:55:43 +0100 (CET) Received: from bedivere.hansenpartnership.com ([66.63.167.143]:44290 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007800AbaLBBzk1PUyt (ORCPT ); Tue, 2 Dec 2014 02:55:40 +0100 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 12E908EE209; Mon, 1 Dec 2014 17:55:33 -0800 (PST) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kGe5flXTEhsG; Mon, 1 Dec 2014 17:55:32 -0800 (PST) Received: from jarvis.lan (unknown [50.46.149.214]) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 1941A8EE03A; Mon, 1 Dec 2014 17:55:32 -0800 (PST) Message-ID: <1417485331.2585.26.camel@HansenPartnership.com> Subject: Re: [PATCH] arch: uapi: asm: mman.h: Support MADV_FREE for madvise() From: James Bottomley To: Carlos O'Donell Cc: Geert Uytterhoeven , Max Filippov , Chen Gang , Minchan Kim , "akpm@linux-foundation.org" , "rth@twiddle.net" , "ink@jurassic.park.msu.ru" , "mattst88@gmail.com" , Ralf Baechle , "jejb@parisc-linux.org" , "deller@gmx.de" , "chris@zankel.net" , "linux-alpha@vger.kernel.org" , "linux-mips@linux-mips.org" , "linux-parisc@vger.kernel.org" , "linux-xtensa@linux-xtensa.org" , "linux-kernel@vger.kernel.org" , Arnd Bergmann Date: Mon, 01 Dec 2014 17:55:31 -0800 In-Reply-To: References: <547CD304.20407@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.7 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 44539 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: James.Bottomley@HansenPartnership.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips On Mon, 2014-12-01 at 17:01 -0500, Carlos O'Donell wrote: > On Mon, Dec 1, 2014 at 4:35 PM, Geert Uytterhoeven wrote: > > On Mon, Dec 1, 2014 at 9:52 PM, Max Filippov wrote: > >> On Mon, Dec 1, 2014 at 11:43 PM, Chen Gang wrote: > >>> At present, kernel supports madvise(MADV_FREE), so can benefit to all > >>> related architectures (can grep MADV_WILLNEED or MADV_REMOVE in "arch/" > >>> to know about all related architectures). > >> > >> A similar patch has been posted a while ago: > >> > >> http://www.spinics.net/lists/linux-mm/msg81538.html > > > > Would it be possible to use the same number everywhere? > > Yes please. It's ridiculous that we still need patches like this. > > I proposed unifying all this two years ago, but didn't follow up. > > From glibc's perspective it would be simpler if we started using the > same number everywhere. > > http://www.spinics.net/lists/linux-api/msg02064.html Please co-ordinate with Andrew then because he's intent on merging this patch: http://marc.info/?l=linux-mm-commits&m=141747572930808 James