GitHub PushEvent at 2014-09-17 21:31:26
Repository: T989-Recovery-Kernel
Actor: Cl3Kener
Payload: {"shas":[["23b7f87b715ddb0889737f56aadfb9fa0f46640a","4bada73e411a9c678a318a79d04d7df4a5fc4429@gmail.com","Performance Tweak\n\n* This little tweak should improve performance slightly.\n\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","Chester Kener",true],["a5d898620ffcad0562d7caad42a6196a7ad96d32","4bada73e411a9c678a318a79d04d7df4a5fc4429@gmail.com","sched/nohz: Rewrite, fix and add more accurate load-avg computation\n\nPart 1)\n\nAfter patch 453494c3d4 (sched: Fix nohz load accounting -- again!), we can fold\nthe idle into calc_load_tasks_idle between the last cpu load calculating and\ncalc_global_load calling. However problem still exits between the first cpu\nload calculating and the last cpu load calculating. Every time when we do load\ncalculating, calc_load_tasks_idle will be added into calc_load_tasks, even if\nthe idle load is caused by calculated cpus. Consider following case:\n5HZ+1\n| cpu0_load     cpu1    cpu2    cpu3    calc_load_tasks    tasks_idle\n|    1           1       1       1\n|  -->calc_load                             1                  0\n|    1           1       1       1\n|                    -->calc_load           2                  0\n|    0           0       1       0\n|                    -->calc_load           2+1-3=0            -3\n|    1           1       0       1\n|                            -->calc_load   1-1=0              -1\nV\n5HZ+11     -->calc_global_load              0                  0\n\nactually the load should be around 3, but shows nearly 0.\n\nThis can be found in our work load. The average running processes number\nis about 15, but the load only shows about 4.\n\nWe provides a solution, by taking those load not calculated cpus' idle out from\nglobal idle as calc_unmask_cpu_load_idle. Then when calc_load execute on every\ncpu, we only fold calc_unmask_cpu_load_idle. After this patch, case above\nshould be as follow:\n5HZ+1\n| cpu0_load     cpu1    cpu2    cpu3   calc_load_tasks tasks_idle  unmask_idle\n|    1           1       1       1\n|  -->calc_load                             1              0           0\n|    1           1       1       1\n|              -->calc_load                 2              0           0\n|    0           0       1       0\n|                    -->calc_load           2+1-1=2        -3          -1\n|    1           1       0       1\n|                            -->calc_load   2+1=3          -2-1=-3     0\nV\n5HZ+11     -->calc_global_load              3              -3          0\n\nCC: Peter Zijlstra <peterz@infradead.org>\nCC: Doug Smythies <dsmythies@telus.net>\nCC: Ingo Molnar <mingo@redhat.com>\nCC: Tao Ma <tm@tao.ma>\nCC: Sha Zhengju <handai.szj@gmail.com>\nReported-by: Sha Zhengju <handai.szj@gmail.com>\nSigned-off-by: Charles Wang <muming.wq@taobao.com>\n\nPart 2)\n\nThanks to Charles Wang for spotting the defects in the current code:\n\n - If we go idle during the sample window -- after sampling, we get a\n   negative bias because we can negate our own sample.\n\n - If we wake up during the sample window we get a positive bias\n   because we push the sample to a known active period.\n\nSo rewrite the entire nohz load-avg muck once again, now adding\ncopious documentation to the code.\n\nReported-and-tested-by: Doug Smythies <dsmythies@telus.net>\nReported-and-tested-by: Charles Wang <muming.wq@gmail.com>\nSigned-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>\nCc: Linus Torvalds <torvalds@linux-foundation.org>\nCc: Andrew Morton <akpm@linux-foundation.org>\nCc: stable@kernel.org\nLink: http://lkml.kernel.org/r/1340373782.18025.74.camel@twins\n[ minor edits ]\nSigned-off-by: Ingo Molnar <mingo@kernel.org>\nSigned-off-by: Chester Kener <Cl3Kener@gmail.com>\n\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","Chester Kener",true],["4a8c9c5a76ca8f98ca0e55771cb69b2b5dc2d412","4bada73e411a9c678a318a79d04d7df4a5fc4429@gmail.com","Shrink Kernel Size\n\nThis changes up the compression to make the size 1/3 that of regular stock. This works well when making flashable zips but I notice lag if I use this when compiling the kernel in ROMs.\n\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","Chester Kener",true],["a5fe512f35fb6341fb946bbc77a113c3f0d03df0","300a2d193222dd0c23d880e16d727d352b404a01@oberhumer.com","lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c\n\nRename the source file to match the function name and thereby\nalso make room for a possible future even slightly faster\n\"non-safe\" decompressor version.\n\nSigned-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","Markus F.X.J. Oberhumer",true],["22c87c854aac98b5b27002d1ddb822a642dac377","300a2d193222dd0c23d880e16d727d352b404a01@oberhumer.com","lib/lzo: Update LZO compression to current upstream version\n\nThis commit updates the kernel LZO code to the current upsteam version\nwhich features a significant speed improvement - benchmarking the Calgary\nand Silesia test corpora typically shows a doubled performance in\nboth compression and decompression on modern i386/x86_64/powerpc machines.\n\nSigned-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","Markus F.X.J. Oberhumer",true]],"size":5,"ref":"refs/heads/master","head":"22c87c854aac98b5b27002d1ddb822a642dac377"}