From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by kanga.kvack.org (Postfix) with ESMTP id 3F54A6B0069 for ; Sat, 4 Oct 2014 09:13:30 -0400 (EDT) Received: by mail-pd0-f169.google.com with SMTP id w10so977624pde.14 for ; Sat, 04 Oct 2014 06:13:29 -0700 (PDT) Received: from mga01.intel.com (mga01.intel.com. [192.55.52.88]) by mx.google.com with ESMTP id rr4si3677421pac.48.2014.10.04.06.13.27 for ; Sat, 04 Oct 2014 06:13:28 -0700 (PDT) From: Andi Kleen Subject: Re: [PATCH 12/17] mm: sys_remap_anon_pages References: <1412356087-16115-1-git-send-email-aarcange@redhat.com> <1412356087-16115-13-git-send-email-aarcange@redhat.com> Date: Sat, 04 Oct 2014 06:13:27 -0700 In-Reply-To: <1412356087-16115-13-git-send-email-aarcange@redhat.com> (Andrea Arcangeli's message of "Fri, 3 Oct 2014 19:08:02 +0200") Message-ID: <87iok0q8p4.fsf@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-api@vger.kernel.org, Linus Torvalds Andrea Arcangeli writes: > This new syscall will move anon pages across vmas, atomically and > without touching the vmas. > > It only works on non shared anonymous pages because those can be > relocated without generating non linear anon_vmas in the rmap code. ... > It is an alternative to mremap. Why a new syscall? Couldn't mremap do this transparently? -Andi -- ak@linux.intel.com -- Speaking for myself only -- 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