No description
Find a file
dianlujitao 1334e75013 lineage: Add support for BFQIO cgroups
* Introduce a standalone libbfqio to be picked by inputflinger,
   surfaceflinger and display HAL, without extending the VNDK.

 * This commit is based on the following patches:

  From: Steve Kondik <steve@cyngn.com>
  Date: Tue, 08 Sep 2015 02:23:41 -0700

      cutils: Add support for BFQIO cgroups

       * Add support for a custom hierarchy of cgroups on top of the BFQ
         IO scheduler. This allows us to place every thread into the
         right class (realtime/best-effort/idle) with a set up priority
         buckets depending on use case.
       * The benefit of doing this is pretty incredible from an
         interactivity standpoint. Realtime users (display/audio) benefit
         the most, resulting in glitch-free audio and jank-free video.
         Dexopting in the background no longer causes active harm to
         foreground tasks. Other tasks such as account syncing become
         invisible from the user's perspective.
       * Magic bullet? Perhaps.

      Change-Id: I4eb911395364ce46d6dcbff43e94286ded03a97d

  From: Steve Kondik <steve@cyngn.com>
  Date: Sat, 19 Sep 2015 12:43:40 -0700

      cutils: Fix copypasta in ioprio code

      Change-Id: I976693be4a6913ed2090fa32d0f8e4c93657e7e7

  From: Steve Kondik <steve@cyngn.com>
  Date: Sun, 20 Sep 2015 01:08:07 -0700

      cutils: Fix display ioprio

       * A few unwanted items are sneaking into this class resulting in
         system slowdowns. Fixit.

      Change-Id: I29033a38adf2c65535f916135d395d5147afe323

  From: Steve Kondik <steve@cyngn.com>
  Date: Sun, 20 Sep 2015 03:00:54 -0700

      cutils: Clean up ioprio grouping

       * It's now better understood what's happening system-wide due to these
         changes, so clean up the stuff which is not necessary and/or
         potentially harmful.

      Change-Id: I72178770844c1ac388a0b424b12cdc49042aec87

  From: Steve Kondik <steve@cyngn.com>
  Date: Sun, 20 Sep 2015 17:36:54 -0700

      cutils: Remove ioprio magic

       * ..and replace it with something we can call explictly where it is
         required in order to achieve the same goodness without the badness.

      Change-Id: I605b3acbc56ce82663dd6f1c9f3320d0ab75e178

  From: Zhao Wei Liew <zhaoweiliew@gmail.com>
  Date: Thu, 08 Sep 2016 20:01:29 +0800

      cutils: iosched_policy: Access BFQIO cgroup in /dev/bfqio

      AOSP doesn't mount cgroups in /sys/fs/cgroup, but in /dev/.
      Follow what AOSP does.

      Change-Id: I40d2241e3e5c41612d3a54d22981d3250f8b1ed6

Change-Id: I7d42bd6bb9176724c1e5687de14946923150ae89
2018-01-04 20:42:22 +00:00
addonsu Add target to make a flashable su addon 2017-04-20 04:06:38 +00:00
bash_completion Add a bash completion "--force-sync" for repo sync 2015-07-30 15:13:11 +08:00
bootanimation vendor: change vendor to lineage 2017-08-23 03:26:28 +03:00
build build: Merge UM platforms into common HALs and disable BSP 2018-01-04 01:14:38 +00:00
charger Charger: Remove old alarm interface and update timerfd interface 2017-09-11 04:10:59 +00:00
config lineage: Make appended date of time to zip opt-in 2018-01-01 18:31:41 +02:00
libbfqio lineage: Add support for BFQIO cgroups 2018-01-04 20:42:22 +00:00
overlay lineage: branded adb icon 2018-01-03 11:53:42 +00:00
prebuilt/common apns-conf: Update Ukrainian APNs 2017-12-30 12:08:36 +00:00
.gitignore http_prebuilt: Implement archive of artifacts 2017-01-09 13:42:29 +00:00
LICENSE vendor: we are now LineageOS 2016-12-28 19:44:28 +00:00
README.mkdn vendor: lineage: Upgrade to LineageOS 15.1 2017-12-07 01:36:18 +01:00
vendorsetup.sh vendor: lineage: Upgrade to LineageOS 15.1 2017-12-07 01:36:18 +01:00

LineageOS
===========

Submitting Patches
------------------
Patches are always welcome!  Please submit your patches via LineageOS Gerrit!
You can do this by using these commands:

    (From root android directory)
    . build/envsetup.sh
    (Go to repo you are patching, make your changes and commit)
    lineagegerrit <for(new)/changes(patch set)> <branch/change-id> 

    repo start lineage-15.1 .
    (Make your changes and commit)
    repo upload .
Note: "." meaning current directory
For more help on using this tool, use this command: repo help upload

Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel)
Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>

To view the status of your and others' patches, visit [LineageOS Code Review](http://review.lineageos.org/)


Getting Started
---------------

To get started with Android/LineageOS, you'll need to get
familiar with [Repo](https://source.android.com/source/using-repo.html) and [Version Control with Git](https://source.android.com/source/version-control.html).

To initialize your local repository using the LineageOS trees, use a command like this:

    repo init -u git://github.com/LineageOS/android.git -b lineage-15.1

Then to sync up:

    repo sync

Please see the [LineageOS Wiki](http://wiki.lineageos.org/) for building instructions, by device.

For more information on this Github Organization and how it is structured, 
please [read the wiki article](http://wiki.lineageos.org/w/Github_Organization)

Buildbot
--------

All supported devices are built nightly and periodically as changes are committed to ensure the source trees remain buildable.

You can view the current build statuses in the [Jenkins](http://jenkins.lineageos.org) tool.