{"push_id":1102945975,"size":31,"distinct_size":31,"ref":"refs/heads/rebase","head":"cfb4820bec738c2657ff89d0c83ff595625e87d0","before":"7d1fe761e31f864052551db99640999b238bbb90","commits":[{"sha":"6c9b6df3587a31905c18425539dd625018c2a39d","author":{"email":"4645f7897fd33786a2ee1264d590b3c400559d85@linuxfoundation.org","name":"Greg Kroah-Hartman"},"message":"staging: zcache: delete it\n\nzcache is obsolete and not used anymore, Bob Liu has rewritten it and is\nsubmitting it for inclusion through the main -mm tree, as it should have\nbeen done in the first place...\n\nChange-Id: I4e6e60ab52358ad2864dc68ceb38a7e81e97565f\nCc: Bob Liu <lliubbo@gmail.com>\nCc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\nCc: Kyungmin Park <kmpark@infradead.org>\nCc: Wanpeng Li <liwanp@linux.vnet.ibm.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/6c9b6df3587a31905c18425539dd625018c2a39d"},{"sha":"a0cdbc6c203fe9901212bcf94d199fbf26ae7fbc","author":{"email":"527af9e7c640877508ac9f4ddd8647c066bca6c6@linux.vnet.ibm.com","name":"Seth Jennings"},"message":"zbud: add to mm/\n\nzbud is an special purpose allocator for storing compressed pages.  It\nis designed to store up to two compressed pages per physical page.\nWhile this design limits storage density, it has simple and\ndeterministic reclaim properties that make it preferable to a higher\ndensity approach when reclaim will be used.\n\nzbud works by storing compressed pages, or \"zpages\", together in pairs\nin a single memory page called a \"zbud page\".  The first buddy is \"left\njustifed\" at the beginning of the zbud page, and the last buddy is\n\"right justified\" at the end of the zbud page.  The benefit is that if\neither buddy is freed, the freed buddy space, coalesced with whatever\nslack space that existed between the buddies, results in the largest\npossible free region within the zbud page.\n\nzbud also provides an attractive lower bound on density.  The ratio of\nzpages to zbud pages can not be less than 1.  This ensures that zbud can\nnever \"do harm\" by using more pages to store zpages than the\nuncompressed zpages would have used on their own.\n\nThis implementation is a rewrite of the zbud allocator internally used\nby zcache in the driver/staging tree.  The rewrite was necessary to\nremove some of the zcache specific elements that were ingrained\nthroughout and provide a generic allocation interface that can later be\nused by zsmalloc and others.\n\nThis patch adds zbud to mm/ for later use by zswap.\n\nChange-Id: I70760f90e981c38f4f117c421c976e47bc526748\nSigned-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\nAcked-by: Rik van Riel <riel@redhat.com>\nCc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nCc: Nitin Gupta <ngupta@vflare.org>\nCc: Minchan Kim <minchan@kernel.org>\nCc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\nCc: Dan Magenheimer <dan.magenheimer@oracle.com>\nCc: Robert Jennings <rcj@linux.vnet.ibm.com>\nCc: Jenifer Hopper <jhopper@us.ibm.com>\nCc: Mel Gorman <mgorman@suse.de>\nCc: Johannes Weiner <jweiner@redhat.com>\nCc: Larry Woodman <lwoodman@redhat.com>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nCc: Dave Hansen <dave@sr71.net>\nCc: Joe Perches <joe@perches.com>\nCc: Joonsoo Kim <iamjoonsoo.kim@lge.com>\nCc: Cody P Schafer <cody@linux.vnet.ibm.com>\nCc: Hugh Dickens <hughd@google.com>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Bob Liu <bob.liu@oracle.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/a0cdbc6c203fe9901212bcf94d199fbf26ae7fbc"},{"sha":"1f6bc3fe8e34f1112506601e5bfe22d819b8e9cc","author":{"email":"527af9e7c640877508ac9f4ddd8647c066bca6c6@linux.vnet.ibm.com","name":"Seth Jennings"},"message":"MAINTAINERS: add zbud maintainer\n\nAdd maintainer information for zbud into the MAINTAINERS file.\n\nChange-Id: I3aada2280e554e1e91d0a0cfd25e26f3010049c4\nSigned-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/1f6bc3fe8e34f1112506601e5bfe22d819b8e9cc"},{"sha":"5276f6d051f516b47243e30507282b1aebcb0ea1","author":{"email":"45471ea77bd08f3d26635f3f5adb40ba41250a2b@samsung.com","name":"Heesub Shin"},"message":"mm: zbud: fix condition check on allocation size\n\nzbud_alloc() incorrectly verifies the size of allocation limit.  It\nshould deny the allocation request greater than (PAGE_SIZE -\nZHDR_SIZE_ALIGNED - CHUNK_SIZE), not (PAGE_SIZE - ZHDR_SIZE_ALIGNED)\nwhich has no remaining spaces for its buddy.  There is no point in\nspending the entire zbud page storing only a single page, since we don't\nhave any benefits.\n\nSigned-off-by: Heesub Shin <heesub.shin@samsung.com>\nAcked-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\nCc: Bob Liu <bob.liu@oracle.com>\nCc: Dongjun Shin <d.j.shin@samsung.com>\nCc: Sunae Seo <sunae.seo@samsung.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/5276f6d051f516b47243e30507282b1aebcb0ea1"},{"sha":"a1c17dc5c0f2453ca09946461b255f391cd4389f","author":{"email":"bfa600f2f37bdb58cd7013a13133683dd75e8c4c@huawei.com","name":"Jianguo Wu"},"message":"mm/zbud: fix some trivial typos in comments\n\nSigned-off-by: Jianguo Wu <wujianguo@huawei.com>\nCc: Seth Jennings <sjenning@linux.vnet.ibm.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/a1c17dc5c0f2453ca09946461b255f391cd4389f"},{"sha":"2fc491648ed5fac2dbfe8992f0f9e22b870a4555","author":{"email":"3efd2a027b14fd890cd23a9ef6d1134b4e5ad850@skynet.be","name":"Fabian Frederick"},"message":"mm/zbud.c: make size unsigned like unique callsite\n\nzbud_alloc is only called by zswap_frontswap_store with unsigned int len.\nChange function parameter + update >= 0 check.\n\nSigned-off-by: Fabian Frederick <fabf@skynet.be>\nAcked-by: Seth Jennings <sjennings@variantweb.net>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/2fc491648ed5fac2dbfe8992f0f9e22b870a4555"},{"sha":"6e6a7d744cdee9ba5f87942cf553105de6e909e4","author":{"email":"74ca843d8fa59bb3c472e2551935d3d1dafb5aea@variantweb.net","name":"Seth Jennings"},"message":"MAINTAINERS: zbud: change maintainer email address\n\nsjenning@linux.vnet.ibm.com is no longer a viable entity.\n\nChange-Id: I0a6b2a70c5f0519f5286d5a4a29d28b36f148aa0\nSigned-off-by: Seth Jennings <sjennings@variantweb.net>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/6e6a7d744cdee9ba5f87942cf553105de6e909e4"},{"sha":"bd4be88da6a21e39400206ed54c27d0afde05736","author":{"email":"9cf7b61c8faa5cbb1bbe4dcb6838d42eed5e6946@ieee.org","name":"Dan Streetman"},"message":"mm/zbud: change zbud_alloc size type to size_t\n\nChange the type of the zbud_alloc() size param from unsigned int to\nsize_t.\n\nTechnically, this should not make any difference, as the zbud\nimplementation already restricts the size to well within either type's\nlimits; but as zsmalloc (and kmalloc) use size_t, and zpool will use\nsize_t, this brings the size parameter type in line with zsmalloc/zpool.\n\nSigned-off-by: Dan Streetman <ddstreet@ieee.org>\nAcked-by: Seth Jennings <sjennings@variantweb.net>\nTested-by: Seth Jennings <sjennings@variantweb.net>\nCc: Weijie Yang <weijie.yang@samsung.com>\nCc: Minchan Kim <minchan@kernel.org>\nCc: Nitin Gupta <ngupta@vflare.org>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/bd4be88da6a21e39400206ed54c27d0afde05736"},{"sha":"1059a3ab95f34565d8aec8a0243ad37b2a702cfa","author":{"email":"0cc5db7488e13b393f245aa6263acec5e92fdcc5@samsung.com","name":"Chao Yu"},"message":"zbud: avoid accessing last unused freelist\n\nFor now, there are NCHUNKS of 64 freelists in zbud_pool, the last\nunbuddied[63] freelist linked with all zbud pages which have free chunks\nof 63.  Calculating according to context of num_free_chunks(), our max\nchunk number of unbuddied zbud page is 62, so none of zbud pages will be\nadded/removed in last freelist, but still we will try to find an unbuddied\nzbud page in the last unused freelist, it is unneeded.\n\nThis patch redefines NCHUNKS to 63 as free chunk number in one zbud page,\nhence we can decrease size of zpool and avoid accessing the last unused\nfreelist whenever failing to allocate zbud from freelist in zbud_alloc.\n\nSigned-off-by: Chao Yu <chao2.yu@samsung.com>\nCc: Seth Jennings <sjennings@variantweb.net>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/1059a3ab95f34565d8aec8a0243ad37b2a702cfa"},{"sha":"cb5408806538ba36fcf2c3eb8530f3bc4a64f297","author":{"email":"f1431bf4ea962ea2009f7275289c2e0b23d8aceb@oracle.com","name":"Bob Liu"},"message":"mm: zcache: add core files\n\nzcache is a backend for cleancache that takes file pages that are in the\nprocess of being reclaimed and attempts to compress them and store them\nin a RAM-based memory pool. This can result in a significant I/O reduction\nif system is full with file pages and, in the case where decompressing\nfrom RAM is faster than reading from the disk, can also improve workload\nperformance.\n\nSigned-off-by: Bob Liu <bob.liu@oracle.com>\nPatch-mainline: linux-mm @ 2013-08-06 11:36:14\n[vinmenon@codeaurora.org: trivial merge conflict fixes, checkpatch fixes]\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>\nChange-Id: Id05bcc1946eee22b94a83adeb0134a3f6e357ef8","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/cb5408806538ba36fcf2c3eb8530f3bc4a64f297"},{"sha":"97eb35be032e88181f0da229d16513aa0f844d37","author":{"email":"f1431bf4ea962ea2009f7275289c2e0b23d8aceb@oracle.com","name":"Bob Liu"},"message":"mm: zcache: add evict zpages supporting\n\nImplemented zbud_ops->evict, so that compressed zpages can be evicted from\nzbud memory pool in the case that the compressed pool is full.\n\nzbud already managered the compressed pool based on LRU. The evict was\nimplemented just by dropping the compressed file page data directly, if\nthe data is required again then no more disk reading can be saved.\n\nSigned-off-by: Bob Liu <bob.liu@oracle.com>\nPatch-mainline: linux-mm @ 2013-08-06 11:36:16\n[vinmenon@codeaurora.org: trivial merge conflict fixes]\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>\nChange-Id: Ia66652475e490f0233547511e80abf7587054e65","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/97eb35be032e88181f0da229d16513aa0f844d37"},{"sha":"302267c98071dfe525773ef644a2fccd1379983d","author":{"email":"f1431bf4ea962ea2009f7275289c2e0b23d8aceb@oracle.com","name":"Bob Liu"},"message":"mm: add WasActive page flag\n\nZcache could be ineffective if the compressed memory pool is full with\ncompressed inactive file pages and most of them will be never used again.\n\nSo we pick up pages from active file list only, those pages would probably\nbe accessed again. Compress them in memory can reduce the latency\nsignificantly compared with rereading from disk.\n\nWhen a file page is shrunk from active file list to inactive file list,\nPageActive flag is also cleared.\nSo adding an extra WasActive page flag for zcache to know whether the\nfile page was shrunk from the active list.\n\nChange-Id: Ida1f4db17075d1f6f825ef7ce2b3bae4eb799e3f\nSigned-off-by: Bob Liu <bob.liu@oracle.com>\nPatch-mainline: linux-mm @ 2013-08-06 11:36:17\n[vinmenon@codeaurora.org: trivial merge conflict fixes, checkpatch fixes,\nfix the definitions of was_active page flag so that it does not create\ncompile time errors with CONFIG_CLEANCACHE disabled. Also remove the\nunnecessary use of PG_was_active in PAGE_FLAGS_CHECK_AT_PREP. Since\nwas_active is a requirement for zcache, make the definitions dependent on\nCONFIG_ZCACHE rather than CONFIG_CLEANCACHE.]\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/302267c98071dfe525773ef644a2fccd1379983d"},{"sha":"c7a7b1fd9b46c3af02d5440eeabf8a22f37afdb6","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"mm: zcache: disallow sleep in zcache store\n\nzcache store ops cannot sleep since it is called from\nan atomic context. Pass the right flags to alloc functions.\n\nChange-Id: I9c7956e895fb7909932315aa3d85845127aa02e1\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/c7a7b1fd9b46c3af02d5440eeabf8a22f37afdb6"},{"sha":"b4be175e855a2ab9d748c4469df70733cd0c343b","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"lowmemorykiller: add zcache awareness\n\nzcache stores compressed file pages which should be\nconsidered as reclaimable pages by lowmemorykiller\nin calculating values to be compared against minfree.\n\nChange-Id: Ia3e08bc14ba61c0a45ed54ba5cd525717a572060\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/b4be175e855a2ab9d748c4469df70733cd0c343b"},{"sha":"564e2db956b25d1468d69aa4d832e4e5e0a68f78","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"mm: zcache: shrink zcache on memory pressure\n\nWhen file pages drops down, at a point zcache pages\ncan be more than the file pages, and even further when\nwe have to reclaim the maximum number of file pages\npossible to launch an application, we need a way to\nreclaim even the zcache pages at least to an extend\nwhich makes it match with the number of file pages.\nThis can help in better foreground headroom.\n\nChange-Id: I481bfb9961ed5cee47ebeae08eb910bb269b644c\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/564e2db956b25d1468d69aa4d832e4e5e0a68f78"},{"sha":"fcd9d0de2e6252e80aa297eeb61e6981e306a256","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"mm: zcache: fix accouting of pool pages\n\nzcache_pool_pages is supposed to store the total\npages in all the pools used by zcache. But at\npresent zcache_pool_pages is assigned pages of any\nparticular pool on a load, store or any operation\nwhich modifies the pool size. And this is more\nimportant for external clients which depend on zcache\npool size, like the lowmemorykiller.\n\nChange-Id: Ifdaab8646c40f1fec71dfa5903658fbdc6b3cce5\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/fcd9d0de2e6252e80aa297eeb61e6981e306a256"},{"sha":"e79846bd9222e36161c8f73adcff95283e4d2d1f","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"mm: zcache: do not wake up kswapd for zcache allocs\n\nzcache allocations happen during reclaim of pages,\nand waking up kswapd at this time hinders system\nperformance. During tests it was seen that without\nthis patch, there were a lot of kswapd wakeups and\nwas resulting in bad launches.\n\nChange-Id: Ic0f0240b8fdad6b3fe142b2bdc0366cfd870635e\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/e79846bd9222e36161c8f73adcff95283e4d2d1f"},{"sha":"24de149c28b2a3a077e94683280990f2a0323163","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"mm: zcache: add zero page support\n\nzero pages need not be compressed and stored unnecessarily.\nRather insert a special handle to the radix tree to identify\na zero page.\n\nChange-Id: Ic92321c4753401a90d69a6e8c61b5119168c9df7\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/24de149c28b2a3a077e94683280990f2a0323163"},{"sha":"0324bfc7ecccf5a60e07acf00757880979a69b44","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"mm: zcache: clear zcache when low on file pages\n\nWhen files pages are very low, it is better to clear off\nzcache pages, since the freed memory can be used to sustain\nan application in foreground. Moreover when file pages\nare too low, we don't gain much by holding a few zcache\npages.\n\nChange-Id: I88dd295d24b7de18fb3bc0788e0baeb6bfdb2f6d\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/0324bfc7ecccf5a60e07acf00757880979a69b44"},{"sha":"ecbb3d8a119bf3b240a859bf7f699b4e8721abc4","author":{"email":"db18ceb40708dab5e9bcdbeb620f7eed18da08e5@codeaurora.org","name":"Vinayak Menon"},"message":"mm: zcache: reduce prints on store error\n\nzcache store can fail on lowmemory conditions.\nDo not throw unnecessary prints on such events, causing\na stall.\n\nChange-Id: I8fba6938f75ef5b6054ee079951b7409279e1c02\nSigned-off-by: Vinayak Menon <vinmenon@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/RonGokhale/android_Kernel_sony_msm8x27/commits/ecbb3d8a119bf3b240a859bf7f699b4e8721abc4"}]}