diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch b/meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch index 05e6ded71d..b54635e8a9 100644 --- a/meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch +++ b/meta/recipes-core/systemd/systemd/0017-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | |||
@@ -22,10 +22,10 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | 22 | 1 file changed, 1 insertion(+), 1 deletion(-) |
23 | 23 | ||
24 | diff --git a/src/basic/process-util.c b/src/basic/process-util.c | 24 | diff --git a/src/basic/process-util.c b/src/basic/process-util.c |
25 | index aec2daf..7b4aabf 100644 | 25 | index f773eea..79af915 100644 |
26 | --- a/src/basic/process-util.c | 26 | --- a/src/basic/process-util.c |
27 | +++ b/src/basic/process-util.c | 27 | +++ b/src/basic/process-util.c |
28 | @@ -1538,7 +1538,7 @@ int set_oom_score_adjust(int value) { | 28 | @@ -1546,7 +1546,7 @@ int set_oom_score_adjust(int value) { |
29 | sprintf(t, "%i", value); | 29 | sprintf(t, "%i", value); |
30 | 30 | ||
31 | return write_string_file("/proc/self/oom_score_adj", t, | 31 | return write_string_file("/proc/self/oom_score_adj", t, |
@@ -33,7 +33,8 @@ index aec2daf..7b4aabf 100644 | |||
33 | + WRITE_STRING_FILE_VERIFY_ON_FAILURE); | 33 | + WRITE_STRING_FILE_VERIFY_ON_FAILURE); |
34 | } | 34 | } |
35 | 35 | ||
36 | static const char *const ioprio_class_table[] = { | 36 | int cpus_in_affinity_mask(void) { |
37 | -- | 37 | -- |
38 | 2.7.4 | 38 | 2.11.0 |
39 | |||
39 | 40 | ||