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:	Wed, 04 Mar 2015 09:21:32 -0800
From:	Mike Kravetz <mike.kravetz@...cle.com>
To:	David Rientjes <rientjes@...gle.com>
CC:	linux-mm@...ck.org, linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Davidlohr Bueso <dave@...olabs.net>,
	Aneesh Kumar <aneesh.kumar@...ux.vnet.ibm.com>,
	Joonsoo Kim <iamjoonsoo.kim@....com>
Subject: Re: [PATCH 0/4] hugetlbfs: optionally reserve all fs pages at mount
 time

On 03/03/2015 09:49 PM, David Rientjes wrote:
> On Tue, 3 Mar 2015, Mike Kravetz wrote:
>> Add a new hugetlbfs mount option 'reserved' to specify that the number
>> of pages associated with the size of the filesystem will be reserved.  If
>> there are insufficient pages, the mount will fail.  The reservation is
>> maintained for the duration of the filesystem so that as pages are
>> allocated and free'ed a sufficient number of pages remains reserved.
>>
>
> This functionality is somewhat limited because it's not possible to
> reserve a subset of the size for a single mount point, it's either all or
> nothing.  It shouldn't be too difficult to just add a reserved=<value>
> option where <value> is <= size.  If it's done that way, you should be
> able to omit size= entirely for unlimited hugepages but always ensure that
> a low watermark of hugepages are reserved for the database.

Thanks, I like that suggestion.  You are correct in that it should not
be too difficult to pass in a size for reserved.  I'll work on the
modification.

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