On 02/16/2014 09:59 AM, Daniel Borkmann wrote:
> From: Vlastimil Babka <[email protected]>

> 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 <[email protected]>
> Reported-by: Daniel Borkmann <[email protected]>
> Tested-by: Daniel Borkmann <[email protected]>
> Cc: Thomas Hellstrom <[email protected]>
> Cc: John David Anglin <[email protected]>
> Cc: HATAYAMA Daisuke <[email protected]>
> Cc: Konstantin Khlebnikov <[email protected]>
> Cc: Carsten Otte <[email protected]>
> Cc: Jared Hulbert <[email protected]>
> Cc: Hannes Frederic Sowa <[email protected]>
> Cc: Kirill A. Shutemov <[email protected]>
> Cc: Rik van Riel <[email protected]>
> Cc: <[email protected]> [3.11.x+]

Acked-by: Rik van Riel <[email protected]>

-- 
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to