Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752896AbZKMLuh (ORCPT ); Fri, 13 Nov 2009 06:50:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752774AbZKMLud (ORCPT ); Fri, 13 Nov 2009 06:50:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5715 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752674AbZKMLuc (ORCPT ); Fri, 13 Nov 2009 06:50:32 -0500 Date: Fri, 13 Nov 2009 12:50:26 +0100 From: Andrea Arcangeli To: KOSAKI Motohiro Cc: Hugh Dickins , Andrew Morton , Izik Eidus , Nick Piggin , Rik van Riel , Lee Schermerhorn , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 2/6] mm: mlocking in try_to_unmap_one Message-ID: <20091113115026.GU21482@random.random> References: <20091113143930.33BF.A69D9226@jp.fujitsu.com> <20091113172453.33CB.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091113172453.33CB.A69D9226@jp.fujitsu.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 738 Lines: 14 On Fri, Nov 13, 2009 at 05:26:14PM +0900, KOSAKI Motohiro wrote: > Probably we can remove VM_NONLINEAR perfectly. I've never seen real user of it. Do you mean as a whole or in the mlock logic? databases are using remap_file_pages on 32bit archs to avoid generating zillon of vmas on tmpfs scattered mappings. On 64bits it could only be useful to some emulators but with real shadow paging and nonlinear rmap already created on shadow pagetables, it looks pretty useless on 64bit archs to me. -- 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/