projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b8700
)
YaGL: Set MLOCK limit to infinity. We used to do this via ulimit -SHl unlimited,...
author
Stanislav Vorobiov
<s.vorobiov@samsung.com>
Fri, 12 Apr 2013 12:18:37 +0000
(16:18 +0400)
committer
Stanislav Vorobiov
<s.vorobiov@samsung.com>
Mon, 15 Apr 2013 10:29:05 +0000
(14:29 +0400)
include/linux/resource.h
patch
|
blob
|
history
diff --git
a/include/linux/resource.h
b/include/linux/resource.h
index d01c96c1966e2724460eeaaef3bdd6c522fc7bda..5d659a50530bc42a2b9cb38d8338cd0d18671e46 100644
(file)
--- a/
include/linux/resource.h
+++ b/
include/linux/resource.h
@@
-68,7
+68,7
@@
struct rlimit64 {
* GPG2 wants 64kB of mlocked memory, to make sure pass phrases
* and other sensitive information are never written to disk.
*/
-#define MLOCK_LIMIT
((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)
+#define MLOCK_LIMIT
RLIM_INFINITY/*((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)*/
/*
* Due to binary compatibility, the actual resource numbers