Change in osmo-msc[master]: Support setting rt-prio and cpu-affinity mask through VTY

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Aug 20 08:44:21 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/19694 )

Change subject: Support setting rt-prio and cpu-affinity mask through VTY
......................................................................

Support setting rt-prio and cpu-affinity mask through VTY

Change-Id: I40cf8a86961c1e350b5cd74d6e2cf64a22b7a2b1
Depends: libosmocore.git Change-Id If76a4bd2cc7b3c7adf5d84790a944d78be70e10a
Depends: osmo-gsm-masnuals.git Change-Id Icd75769ef630c3fa985fc5e2154d5521689cdd3c
Related: SYS#4986
---
M TODO-RELEASE
M configure.ac
M debian/control
M doc/manuals/osmomsc-usermanual.adoc
M src/osmo-msc/msc_main.c
5 files changed, 10 insertions(+), 7 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/TODO-RELEASE b/TODO-RELEASE
index 17dc17a..78a03ff 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -7,6 +7,5 @@
 # If any interfaces have been added since the last public release: c:r:a + 1.
 # If any interfaces have been removed or changed since the last public release: c:r:0.
 #library	what		description / commit summary line
-manual				needs common chapter cs7-config.adoc from osmo-gsm-manuals > 0.3.0
-libosmocore	osmo_mobile_identity	Depends on libosmocore > 1.3.0
+manual				needs common chapter cs7-config.adoc, vty_cpu_sched.adoc from osmo-gsm-manuals > 0.3.0
 osmo-msc	Mobile Identity Coding	OsmoMSC is stricter in rejecting invalid coding of Mobile Identity IEs
diff --git a/configure.ac b/configure.ac
index 5244055..eea7f4b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,10 +40,10 @@
 	])
 
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.3.0)
-PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.3.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.4.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.4.0)
 PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.6.0)
 PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.6.0)
 PKG_CHECK_MODULES(LIBOSMOSIGTRAN, libosmo-sigtran >= 1.1.0)
diff --git a/debian/control b/debian/control
index 606fbaf..0f3da25 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@
                libtalloc-dev,
                libsmpp34-dev (>= 1.14.0),
                libasn1c-dev (>= 0.9.30),
-               libosmocore-dev (>= 1.3.0),
+               libosmocore-dev (>= 1.4.0),
                libosmo-sccp-dev (>= 1.1.0),
                libosmo-sigtran-dev (>= 1.1.0),
                libosmo-abis-dev (>= 0.6.0),
diff --git a/doc/manuals/osmomsc-usermanual.adoc b/doc/manuals/osmomsc-usermanual.adoc
index 848d9c0..7ba45d4 100644
--- a/doc/manuals/osmomsc-usermanual.adoc
+++ b/doc/manuals/osmomsc-usermanual.adoc
@@ -36,6 +36,8 @@
 
 include::./common/chapters/gsup.adoc[]
 
+include::./common/chapters/vty_cpu_sched.adoc[]
+
 include::./common/chapters/port_numbers.adoc[]
 
 include::./common/chapters/bibliography.adoc[]
diff --git a/src/osmo-msc/msc_main.c b/src/osmo-msc/msc_main.c
index f2ccff5..98d29c3 100644
--- a/src/osmo-msc/msc_main.c
+++ b/src/osmo-msc/msc_main.c
@@ -53,6 +53,7 @@
 #include <osmocom/vty/ports.h>
 #include <osmocom/vty/logging.h>
 #include <osmocom/vty/misc.h>
+#include <osmocom/vty/cpu_sched_vty.h>
 #include <osmocom/msc/vty.h>
 #include <osmocom/msc/mncc.h>
 #include <osmocom/msc/rrlp.h>
@@ -549,6 +550,7 @@
 	ctrl_vty_init(tall_msc_ctx);
 	logging_vty_add_cmds();
 	osmo_talloc_vty_add_cmds();
+	osmo_cpu_sched_vty_init(tall_msc_ctx);
 
 	/* Allocate global gsm_network struct.
 	 * At first set the internal MNCC as default, may be changed below according to cfg or cmdline option. */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/19694
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I40cf8a86961c1e350b5cd74d6e2cf64a22b7a2b1
Gerrit-Change-Number: 19694
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200820/43550345/attachment.htm>


More information about the gerrit-log mailing list