Thread (39 messages) 39 messages, 10 authors, 2018-04-03

Re: [RFC PATCH v2 2/2] Architecture defined limit on memory region random shift.

From: Ilya Smith <hidden>
Date: 2018-03-23 17:49:03
Also in: linux-alpha, linux-mips, linux-mm, linux-s390, linux-sh, lkml, sparclinux

On 22 Mar 2018, at 23:54, Andrew Morton [off-list ref] =
wrote:
=20
=20
Please add changelogs.  An explanation of what a "limit on memory
region random shift" is would be nice ;) Why does it exist, why are we
doing this, etc.  Surely there's something to be said - at present =
this
is just a lump of random code?
=20
=20
=20
Sorry, my bad. The main idea of this limit is to decrease possible =
memory=20
fragmentation. This is not so big problem on 64bit process, but really =
big for=20
32 bit processes since may cause failure memory allocation. To control =
memory=20
fragmentation and protect 32 bit systems (or architectures) this limit =
was=20
introduce by this patch. It could be also moved to CONFIG_ as well.=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help