From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <53022580.9010805@redhat.com> Date: Mon, 17 Feb 2014 10:06:40 -0500 From: Rik van Riel MIME-Version: 1.0 To: Daniel Borkmann , akpm@linux-foundation.org CC: linux-kernel@vger.kernel.org, Vlastimil Babka , Thomas Hellstrom , John David Anglin , HATAYAMA Daisuke , Konstantin Khlebnikov , Carsten Otte , Jared Hulbert , Hannes Frederic Sowa , "Kirill A. Shutemov" , stable@vger.kernel.org Subject: Re: [PATCH akpm] mm: include VM_MIXEDMAP flag in the VM_SPECIAL list to avoid m(un)locking References: <1392562785-15790-1-git-send-email-dborkman@redhat.com> In-Reply-To: <1392562785-15790-1-git-send-email-dborkman@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: On 02/16/2014 09:59 AM, Daniel Borkmann wrote: > From: Vlastimil Babka > This patch fixes the issue by adding VM_MIXEDMAP flag to VM_SPECIAL, > a list of flags that make vma's non-mlockable and non-mergeable. > The reasoning is that VM_MIXEDMAP vma's are similar to VM_PFNMAP, > which is already on the VM_SPECIAL list, and both are intended > for non-LRU pages where mlocking makes no sense anyway. Related > Lkml discussion can be found in [2]. > > [1] tools/testing/selftests/net/psock_tpacket > [2] https://lkml.org/lkml/2014/1/10/427 > > Signed-off-by: Vlastimil Babka > Reported-by: Daniel Borkmann > Tested-by: Daniel Borkmann > Cc: Thomas Hellstrom > Cc: John David Anglin > Cc: HATAYAMA Daisuke > Cc: Konstantin Khlebnikov > Cc: Carsten Otte > Cc: Jared Hulbert > Cc: Hannes Frederic Sowa > Cc: Kirill A. Shutemov > Cc: Rik van Riel > Cc: [3.11.x+] Acked-by: Rik van Riel -- All rights reversed