trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject git commit: TS-2624: Add informational warning.
Date Sun, 11 May 2014 23:45:11 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 630079273 -> 318804390


TS-2624: Add informational warning.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/31880439
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/31880439
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/31880439

Branch: refs/heads/master
Commit: 318804390a61bc1a1e1eb8d9b3ce1dff0b3f05db
Parents: 6300792
Author: Phil Sorber <sorber@apache.org>
Authored: Sun May 11 17:44:18 2014 -0600
Committer: Phil Sorber <sorber@apache.org>
Committed: Sun May 11 17:44:18 2014 -0600

----------------------------------------------------------------------
 iocore/eventsystem/UnixEventProcessor.cc | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/31880439/iocore/eventsystem/UnixEventProcessor.cc
----------------------------------------------------------------------
diff --git a/iocore/eventsystem/UnixEventProcessor.cc b/iocore/eventsystem/UnixEventProcessor.cc
index d7ddb9b..8d7025e 100644
--- a/iocore/eventsystem/UnixEventProcessor.cc
+++ b/iocore/eventsystem/UnixEventProcessor.cc
@@ -152,6 +152,9 @@ EventProcessor::start(int n_event_threads, size_t stacksize)
 #endif // HWLOC_API_VERSION
       hwloc_set_thread_cpubind(ink_get_topology(), tid, obj->cpuset, HWLOC_CPUBIND_STRICT);
     }
+    else {
+      Warning("hwloc returned an unexpected value -- CPU affinity disabled");
+    }
 #endif // TS_USE_HWLOC
   }
 


Mime
View raw message