Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 6, 2013
  1. @sangwoo-kang

    Change activitymanager start condition

    sangwoo-kang authored Maksym Sditanov committed
    :Release Notes:
    Change activitymanager start condition to be on rest-boot-done
    
    :Detailed Notes:
    In order to have a stable and fast boot sequence for the last input app,
    the start condition of activitymanager should be changed.
    Activitymanager can be deferred because it isn't related to the last
    input app.
    
    Here are the boot conditions:
    - core-boot-done: Very important services for factory line
    - datastore-init-start: DB8, SettingsServices, and filecache
    - init-boot-done: The services which needed for last-input-app
    - minimal-boot-done: The services which needed for app launching
    - rest-boot-done: Other services which can be deferred
    - boot-done: Boot complete (== for renice jobs in boottime)
    
    :Testing Performed:
    - #434 + this commit
    - activitmanager works fine in auto mode
    
    :QA Notes:
    
    :Issues Addressed:
    [GF-44168] [Boottime] Optimize boot sequence
    
    Open-webOS-DCO-1.0-Signed-off-by: Sangwoo Kang <sangwoo82.kang@lge.com>
    Change-Id: I44188163c6d0ba699258b46644cb314465778d82
    Reviewed-on: https://g2g.palm.com/3951
    Reviewed-by: DCO Verification
    Reviewed-by: Herb Kuta <herb.kuta@lge.com>
    Tested-by: Herb Kuta <herb.kuta@lge.com>
    Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
    Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>
Commits on Sep 5, 2013
  1. @sangwoo-kang

    Remove script/end script whenever possible

    sangwoo-kang authored Ed Chejlava committed
    :Release Notes:
    Upstart scripts using script/end script result in one extra /bin/sh
    process hanging around eatinmg a bit of memory and such
    
    :Detailed Notes:
    Having required everyone to use script/end script instead of exec, I
    inadvertently led to 70+ copies of /bin/sh leftover after booting the
    TV, in addition to the extra time it took Upstart to spawn those shells
    which then spawned the actual binaries.
    Having been poked by Sailesh and Jayoon to re-examine, I found that
    the problems I thought were being caused by 'exec' were actually caused
    by 'expect' (which we no longer try to use).
    Replacing the 'script' blocks with 'exec' where possible reduced the
    number of excess /bin/sh processes to 1.
    
    :Testing Performed:
    Based on #292 + this change: activitmanager was executed correctly
    with this change and there was no /bin/sh stuff.
    
    :QA Notes:
    
    :Issues Addressed:
    [GF-35091] Upstart scripts leaving many dangling /bin/sh procs
    
    Open-webOS-DCO-1.0-Signed-off-by: Sangwoo Kang <sangwoo82.kang@lge.com>
    
    Change-Id: Ia837338da681dfa071e7ad00c48eff9de0a9856e
    Reviewed-on: https://g2g.palm.com/3262
    Reviewed-by: Build Verification
    Reviewed-by: Sangwoo Kang <sangwoo82.kang@lge.com>
    Tested-by: Sangwoo Kang <sangwoo82.kang@lge.com>
    Reviewed-by: Ed Chejlava <ed.chejlava@lge.com>
Something went wrong with that request. Please try again.