Cleanup internal references
Story: 2002971 Task: 22979 Change-Id: I618d707ef141e8bd029b0fc80b4eaf34bacc7bf4 Signed-off-by: Jack Ding <jack.ding@windriver.com>
This commit is contained in:
parent
df58f0ba0f
commit
a1f2589486
|
@ -18,7 +18,7 @@ void SmNodeSwactMonitor::SwactStart(SmNodeScheduleStateT my_role)
|
|||
sm_node_utils_is_aio_duplex(&duplex);
|
||||
if( duplex )
|
||||
{
|
||||
// US102803: Set the swact state to start so task affining thread
|
||||
// Set the swact state to start so task affining thread
|
||||
// can affine tasks to all idle cores to speed up swact activity.
|
||||
DPRINTFI("Start of swact: affining tasks to idle cores...");
|
||||
sm_set_swact_state(SM_SWACT_STATE_START);
|
||||
|
@ -48,7 +48,7 @@ void SmNodeSwactMonitor::SwactCompleted(bool result)
|
|||
{
|
||||
if( duplex )
|
||||
{
|
||||
// US102803: Set the swact state to end so task affining thread
|
||||
// Set the swact state to end so task affining thread
|
||||
// can reaffine tasks back to the platform cores.
|
||||
DPRINTFI("End of swact: reaffining tasks back to platform cores...");
|
||||
sm_set_swact_state(SM_SWACT_STATE_END);
|
||||
|
|
|
@ -351,7 +351,7 @@ static SmErrorT sm_process_initialize( void )
|
|||
return( SM_FAILED );
|
||||
}
|
||||
|
||||
// US102803: Start a task affining thread for AIO duplex system
|
||||
// Start a task affining thread for AIO duplex system
|
||||
if(_is_aio_duplex)
|
||||
{
|
||||
error = sm_task_affining_thread_start();
|
||||
|
@ -374,7 +374,7 @@ static SmErrorT sm_process_finalize( void )
|
|||
{
|
||||
SmErrorT error;
|
||||
|
||||
// US102803: Stop the task affining thread if it is AIO duplex
|
||||
// Stop the task affining thread if it is AIO duplex
|
||||
if(_is_aio_duplex)
|
||||
{
|
||||
error = sm_task_affining_thread_stop();
|
||||
|
|
|
@ -212,7 +212,7 @@ static SmErrorT sm_service_group_fsm_enter_state( SmServiceGroupT* service_group
|
|||
break;
|
||||
|
||||
case SM_SERVICE_GROUP_STATE_DISABLED:
|
||||
// US102803: This is a workaround for lack of sm message that
|
||||
// This is a workaround for lack of sm message that
|
||||
// signifies the "end-of-swact" state on both controller nodes.
|
||||
//
|
||||
// As all service groups have to transition to disabled state
|
||||
|
|
Loading…
Reference in New Issue