lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <53022580.9010805@redhat.com>
Date:	Mon, 17 Feb 2014 10:06:40 -0500
From:	Rik van Riel <riel@...hat.com>
To:	Daniel Borkmann <dborkman@...hat.com>, akpm@...ux-foundation.org
CC:	linux-kernel@...r.kernel.org, Vlastimil Babka <vbabka@...e.cz>,
	Thomas Hellstrom <thellstrom@...are.com>,
	John David Anglin <dave.anglin@...l.net>,
	HATAYAMA Daisuke <d.hatayama@...fujitsu.com>,
	Konstantin Khlebnikov <khlebnikov@...nvz.org>,
	Carsten Otte <cotte@...ibm.com>,
	Jared Hulbert <jaredeh@...il.com>,
	Hannes Frederic Sowa <hannes@...essinduktion.org>,
	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
	stable@...r.kernel.org
Subject: Re: [PATCH akpm] mm: include VM_MIXEDMAP flag in the VM_SPECIAL list
 to avoid m(un)locking

On 02/16/2014 09:59 AM, Daniel Borkmann wrote:
> From: Vlastimil Babka <vbabka@...e.cz>

> 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 <vbabka@...e.cz>
> Reported-by: Daniel Borkmann <dborkman@...hat.com>
> Tested-by: Daniel Borkmann <dborkman@...hat.com>
> Cc: Thomas Hellstrom <thellstrom@...are.com>
> Cc: John David Anglin <dave.anglin@...l.net>
> Cc: HATAYAMA Daisuke <d.hatayama@...fujitsu.com>
> Cc: Konstantin Khlebnikov <khlebnikov@...nvz.org>
> Cc: Carsten Otte <cotte@...ibm.com>
> Cc: Jared Hulbert <jaredeh@...il.com>
> Cc: Hannes Frederic Sowa <hannes@...essinduktion.org>
> Cc: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
> Cc: Rik van Riel <riel@...hat.com>
> Cc: <stable@...r.kernel.org> [3.11.x+]

Acked-by: Rik van Riel <riel@...hat.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ