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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 08 May 2009 18:20:17 -0400
From:	Rik van Riel <riel@...hat.com>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	Wu Fengguang <fengguang.wu@...el.com>, hannes@...xchg.org,
	peterz@...radead.org, linux-kernel@...r.kernel.org, tytso@....edu,
	linux-mm@...ck.org, elladan@...imo.com, npiggin@...e.de,
	cl@...ux-foundation.org, kosaki.motohiro@...fujitsu.com,
	minchan.kim@...il.com
Subject: Re: [PATCH -mm] vmscan: make mapped executable pages the first class
 citizen

Alan Cox wrote:
>> The patch seems reasonable but the changelog and the (non-existent)
>> design documentation could do with a touch-up.
> 
> Is it right that I as a user can do things like mmap my database
> PROT_EXEC to get better database numbers by making other
> stuff swap first ?

Yes, but only if your SELinux policy allows you to
mmap something that's both executable and writable
at the same time.

> You seem to be giving everyone a "nice my process up" hack.

A user who wants to slow the system down has always
been able to do so.

I am not convinced that the potential disadvantages
of giving mapped referenced executable file pages an
extra round trip on the active file list outweighs
the advantages of doing so for normal workloads.

-- 
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