{"push_id":2824105185,"size":5,"distinct_size":5,"ref":"refs/heads/android-4.4","head":"b865cfdbdc4a485a4eee44b67757496c28e13978","before":"e15716b49f04f9e5343a1fc34f3ff0fc08a92a24","commits":[{"sha":"f588554b4ab4d0871757dfd5acaa0cfb251805e3","author":{"name":"Minchan Kim","email":"eee62f459f15dcddf87a8df69e8328e2a2562028@kernel.org"},"message":"UPSTREAM: zram: clean up duplicated codes in __zram_bvec_write\n\nPatch series \"writeback incompressible pages to storage\", v1.\n\nzRam is useful for memory saving with compressible pages but sometime,\nworkload can be changed and system has lots of incompressible pages\nwhich is very harmful for zram.\n\nThis patch supports writeback feature of zram so admin can set up a\nblock device and with it, zram can save the memory via writing out the\nincompressile pages once it found it's incompressible pages (1/4 comp\nratio) instead of keeping the page in memory.\n\n[1-3] is just clean up and [4-8] is step by step feature enablement.\n[4-8] is logically not bisectable(ie, logical unit separation)\nalthough I tried to compiled out without breaking but I think it would\nbe better to review.\n\nThis patch (of 9):\n\n__zram_bvec_write has some of duplicated logic for zram meta data\nhandling of same_page|compressed_page.  This patch aims to clean it up\nwithout behavior change.\n\n[xieyisheng1@huawei.com: fix compr_data_size stat]\n  Link: http://lkml.kernel.org/r/1502707447-6944-1-git-send-email-xieyisheng1@huawei.com\nLink: http://lkml.kernel.org/r/1496019048-27016-1-git-send-email-minchan@kernel.org\nLink: http://lkml.kernel.org/r/1498459987-24562-2-git-send-email-minchan@kernel.org\nSigned-off-by: Minchan Kim <minchan@kernel.org>\nSigned-off-by: Yisheng Xie <xieyisheng1@huawei.com>\nReviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nCc: Juneho Choi <juno.choi@lge.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n\n(cherry picked from commit 4ebbe7f7fc99260afd51759e35dbfdd6010dc697)\nSigned-off-by: Peter Kalauskas <peskal@google.com>\nBug: 112488418\nChange-Id: I3fa150c869a66ff289712b956924ecb361864a2e","distinct":true,"url":"https://api.github.com/repos/aosp-mirror/kernel_common/commits/f588554b4ab4d0871757dfd5acaa0cfb251805e3"},{"sha":"7d6933f6bf7ac9eaa7bbbb9039cdd60cbb8362ff","author":{"name":"Minchan Kim","email":"eee62f459f15dcddf87a8df69e8328e2a2562028@kernel.org"},"message":"UPSTREAM: zram: inline zram_compress\n\nzram_compress does several things, compress, entry alloc and check\nlimitation.  I did for just readbility but it hurts modulization.:(\n\nSo this patch removes zram_compress functions and inline it in\n__zram_bvec_write for upcoming patches.\n\nLink: http://lkml.kernel.org/r/1498459987-24562-3-git-send-email-minchan@kernel.org\nSigned-off-by: Minchan Kim <minchan@kernel.org>\nCc: Juneho Choi <juno.choi@lge.com>\nCc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n\n(cherry picked from commit 97ec7c8bd5d029b2c3e40355c1204197094e9ba1)\nSigned-off-by: Peter Kalauskas <peskal@google.com>\nBug: 112488418\nChange-Id: Ibb37d77168edd0b01d0b9820e431c73cc3c2ff20","distinct":true,"url":"https://api.github.com/repos/aosp-mirror/kernel_common/commits/7d6933f6bf7ac9eaa7bbbb9039cdd60cbb8362ff"},{"sha":"611815ed3a6a23961b7f3fbf34b8dd458b33a372","author":{"name":"Minchan Kim","email":"eee62f459f15dcddf87a8df69e8328e2a2562028@kernel.org"},"message":"UPSTREAM: zram: rename zram_decompress_page to __zram_bvec_read\n\nzram_decompress_page naming is not proper because it doesn't decompress\nif page was dedup hit or stored with compression.\n\nUse more abstract term and consistent with write path function\n__zram_bvec_write.\n\nLink: http://lkml.kernel.org/r/1498459987-24562-4-git-send-email-minchan@kernel.org\nSigned-off-by: Minchan Kim <minchan@kernel.org>\nCc: Juneho Choi <juno.choi@lge.com>\nCc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n\n(cherry picked from commit 693dc1ce25b8c8fa33f930d47cd8f926eeb90812)\nSigned-off-by: Peter Kalauskas <peskal@google.com>\nBug: 112488418\nChange-Id: Ia7c948f4b78601458b7ebc23ab345d4bc0a8d4a8","distinct":true,"url":"https://api.github.com/repos/aosp-mirror/kernel_common/commits/611815ed3a6a23961b7f3fbf34b8dd458b33a372"},{"sha":"6b584e46ec500b12f2a4aecaecb3d6f293a9b350","author":{"name":"Minchan Kim","email":"eee62f459f15dcddf87a8df69e8328e2a2562028@kernel.org"},"message":"UPSTREAM: zram: add interface to specif backing device\n\nFor writeback feature, user should set up backing device before the zram\nworking.\n\nThis patch enables the interface via /sys/block/zramX/backing_dev.\n\nCurrently, it supports block device only but it could be enhanced for\nfile as well.\n\nLink: http://lkml.kernel.org/r/1498459987-24562-5-git-send-email-minchan@kernel.org\nSigned-off-by: Minchan Kim <minchan@kernel.org>\nCc: Juneho Choi <juno.choi@lge.com>\nCc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n\n(cherry picked from commit 013bf95a83ec760a2afc37fabd6bf13a9cdae205)\nSigned-off-by: Peter Kalauskas <peskal@google.com>\nBug: 112488418\nChange-Id: I4bbf12ed7496d476bddd574e756bac5c8a838089","distinct":true,"url":"https://api.github.com/repos/aosp-mirror/kernel_common/commits/6b584e46ec500b12f2a4aecaecb3d6f293a9b350"},{"sha":"b865cfdbdc4a485a4eee44b67757496c28e13978","author":{"name":"Minchan Kim","email":"eee62f459f15dcddf87a8df69e8328e2a2562028@kernel.org"},"message":"BACKPORT: zram: add free space management in backing device\n\nWith backing device, zram needs management of free space of backing\ndevice.\n\nThis patch adds bitmap logic to manage free space which is very naive.\nHowever, it would be simple enough as considering uncompressible pages's\nfrequenty in zram.\n\nLink: http://lkml.kernel.org/r/1498459987-24562-6-git-send-email-minchan@kernel.org\nSigned-off-by: Minchan Kim <minchan@kernel.org>\nCc: Juneho Choi <juno.choi@lge.com>\nCc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n\n(cherry picked from commit 1363d4662a0d28dfdb81ef426c88c9a8dbf7c338)\nSigned-off-by: Peter Kalauskas <peskal@google.com>\nBug: 112488418\nChange-Id: I37dc98b40bfddceb9eb6d989ca30683dbf89210c","distinct":true,"url":"https://api.github.com/repos/aosp-mirror/kernel_common/commits/b865cfdbdc4a485a4eee44b67757496c28e13978"}]}
{"actor":{"display_login":"hubot"}}