Merge lp:~rsalveti/ubuntu-touch-session/setting-rlimit-nice into lp:ubuntu-touch-session

Proposed by Ricardo Salveti
Status: Merged
Approved by: Sergio Schvezov
Approved revision: 74
Merged at revision: 74
Proposed branch: lp:~rsalveti/ubuntu-touch-session/setting-rlimit-nice
Merge into: lp:ubuntu-touch-session
Diff against target: 26 lines (+8/-0)
2 files modified
debian/changelog (+7/-0)
debian/ubuntu-touch-session.upstart (+1/-0)
To merge this branch: bzr merge lp:~rsalveti/ubuntu-touch-session/setting-rlimit-nice
Reviewer Review Type Date Requested Status
Sergio Schvezov Approve
Review via email: mp+172719@code.launchpad.net

Commit message

Setting rlimit nice to 40 40, to follow what's is used by Android and avoid having warnings with binder (RLIMIT_NICE not set).

Description of the change

Setting rlimit nice to 40 40, to follow what's is used by Android and avoid having warnings with binder (RLIMIT_NICE not set).

Code from Android's init:
init.rc: setrlimit 13 40 40.

To post a comment you must log in.
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Nice *pub*

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-06-12 11:31:03 +0000
3+++ debian/changelog 2013-07-03 02:32:26 +0000
4@@ -1,3 +1,10 @@
5+ubuntu-touch-session (0.57) UNRELEASED; urgency=low
6+
7+ * Setting rlimit nice to 40 40, to follow what's is used by Android and
8+ avoid having warnings with binder (RLIMIT_NICE not set)
9+
10+ -- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Tue, 02 Jul 2013 23:28:35 -0300
11+
12 ubuntu-touch-session (0.56) saucy; urgency=low
13
14 * wait for udev being started so we are sure container as well as host HW
15
16=== modified file 'debian/ubuntu-touch-session.upstart'
17--- debian/ubuntu-touch-session.upstart 2013-06-12 11:30:30 +0000
18+++ debian/ubuntu-touch-session.upstart 2013-07-03 02:32:26 +0000
19@@ -6,6 +6,7 @@
20
21 setuid phablet
22 setgid android_input
23+limit nice 40 40
24 oom score -10
25
26 respawn

Subscribers

People subscribed via source and target branches