diff options
author | Haiqing Bai <Haiqing.Bai@windriver.com> | 2018-12-06 17:55:01 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-02-04 21:34:02 -0800 |
commit | c48d9e29f3cf83f386784437806935b80d1fdbb6 (patch) | |
tree | 701c6cb75cbea6024e595e32aa5b39cd89628a40 /meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb | |
parent | e471c9d0103af97987570210e40344bc536e2792 (diff) | |
download | meta-openembedded-c48d9e29f3cf83f386784437806935b80d1fdbb6.tar.gz |
ptpd: fixed the issue of ptpd2 daemon takes 100% CPU
The ptpd2 daemon consumes 100% CPU (of a single core) after
some amount of stable runtime. This fix added minimum POSIX
timer interval to prevent from timers firing to quickly for
the process to handle, resulting in 100% CPU and endless signal queue.
Reference: https://github.com/ptpd/ptpd/blob/master/ChangeLog
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb')
-rw-r--r-- | meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb b/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb index e13619320..58625c809 100644 --- a/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb +++ b/meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb | |||
@@ -23,6 +23,7 @@ def get_sub(d): | |||
23 | 23 | ||
24 | SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${@get_sub(d)}/ptpd-${PV}.tar.gz \ | 24 | SRC_URI = "http://downloads.sourceforge.net/project/ptpd/ptpd/${@get_sub(d)}/ptpd-${PV}.tar.gz \ |
25 | file://ptpd-use-pkgconfig.patch \ | 25 | file://ptpd-use-pkgconfig.patch \ |
26 | file://Fixed-100-CPU-using-issue-by-adding-minimum-POSIX-ti.patch \ | ||
26 | file://ptpd.service \ | 27 | file://ptpd.service \ |
27 | file://ptpd.conf \ | 28 | file://ptpd.conf \ |
28 | " | 29 | " |