diff options
| author | Devi Sandeep Endluri V V <dendluri@codeaurora.org> | 2018-04-27 19:25:47 +0530 |
|---|---|---|
| committer | celtare21 <celtare21@gmail.com> | 2019-06-14 13:51:23 +0300 |
| commit | b9aeec46b7833b8e3b8a331fa510084ad322a8ee (patch) | |
| tree | 365ffc685d36ca05e5a214f4f52d3320dfbb0d1c /rootdir | |
| parent | d89679ef26c24a19a226658eed8b8d0e3bec09d0 (diff) | |
mata: set rlimit memlock to 64MB
without this, max locked memory (RLIMIT_MEMLOCK) is being set
to 65536. Traffic controller fails to start as a result since
netd requests for pages (=255) more than that of the available
pages (= 65536 >> 12 = 16)
Change-Id: I37dff707dc5cca38719cf05b57d16ff0fc7fae43
CRs-Fixed: 2226098
Signed-off-by: celtare21 <celtare21@gmail.com>
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/etc/init.performance.mata.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/etc/init.performance.mata.rc b/rootdir/etc/init.performance.mata.rc index 28fa7fd3..4a9ae029 100644 --- a/rootdir/etc/init.performance.mata.rc +++ b/rootdir/etc/init.performance.mata.rc @@ -41,6 +41,9 @@ on post-fs # Disable sched autogroup write /proc/sys/kernel/sched_autogroup_enabled 0 + # set RLIMIT_MEMLOCK to 64MB + setrlimit 8 67108864 67108864 + on property:sys.boot_completed=1 # Set the default IRQ affinity to the silver cluster. write /proc/irq/default_smp_affinity f |
