{"push_id":1155052188,"size":35,"distinct_size":35,"ref":"refs/heads/mm6.0","head":"6c458df60fd0511a88dcbcfb62449c973e116f1f","before":"1c5d96cd2954c31161032d9aeea4e27cbd661965","commits":[{"sha":"42d7712f9a9bffe5ee09c1e6aed136d7a02c14c3","author":{"name":"Larry Bassel","email":"1a59eee42ccf79516f286d1b3c03584de2ea8f50@codeaurora.org"},"message":"zram: use 3.10 version of zram\n\ncommit 25eeb667599b192ea850a062d69383ee864c06ab\nAuthor: Wanpeng Li <liwanp@linux.vnet.ibm.com>\nDate:   Wed Mar 13 15:06:16 2013 +0800\n\n    zram: fix zram_bvec_read duplicate dump failure message and stat accumulation\n\n    When zram decompress fails, the code unnecessarily dumps failure messages and\n    does stat accumulation in function zram_decompress_page(), this work is already\n    done in function zram_decompress_page, the patch skips the redundant work.\n\n    Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 78110bb8dc4a7ff331bfa3cfe7d4e287cfb3f22b\nAuthor: Joe Perches <joe@perches.com>\nDate:   Mon Feb 11 09:41:29 2013 -0800\n\n    staging: Remove unnecessary OOM messages\n\n    alloc failures already get standardized OOM\n    messages and a dump_stack.\n\n    For the affected mallocs around these OOM messages:\n\n    Converted kzallocs with multiplies to kcalloc.\n    Converted kmallocs with multiplies to kmalloc_array.\n    Converted a kmalloc/strlen/strncpy to kstrdup.\n    Moved a spin_lock below a removed OOM message and\n    removed a now unnecessary spin_unlock.\n    Neatened alignment and whitespace.\n\n    Signed-off-by: Joe Perches <joe@perches.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 1e927711c5ecabe76010ed9249f8f3747829f04f\nAuthor: Fengguang Wu <fengguang.wu@intel.com>\nDate:   Fri Feb 8 10:15:10 2013 +0800\n\n    staging: zram: __zram_reset_device() can be static\n\n    Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>\n    Cc: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 8b3cc3edb745cbc131560d19e3f32d81c07454b1\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Wed Feb 6 08:48:53 2013 +0900\n\n    zram: get rid of lockdep warning\n\n    Lockdep complains about recursive deadlock of zram->init_lock.\n    [1] made it false positive because we can't request IO to zram\n    before setting disksize. Anyway, we should shut lockdep up to\n    avoid many reporting from user.\n\n    [1] : zram: force disksize setting before using zram\n\n    Acked-by: Jerome Marchand <jmarchan@redhat.com>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 152bce6bdd6e6866ff83166ac75177d001c4360d\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Wed Feb 6 08:45:22 2013 +0900\n\n    zram: fix warning of print format\n\n    kbuild bot whinges due to print format mistmatch caused by\n    zram: force disksize setting before using zram.\n\n    This patch fixes it.\n\n    Reported-by: Wu Fengguang <fengguang.wu@intel.com>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 3de738cd30306f754ea35d35b5dad29fdbec84c9\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Wed Jan 30 11:41:41 2013 +0900\n\n    zram: give up lazy initialization of zram metadata\n\n    1) User of zram normally do mkfs.xxx or mkswap before using\n       the zram block device(ex, normally, do it at booting time)\n       It ends up allocating such metadata of zram before real usage so\n       benefit of lazy initialzation would be mitigated.\n\n    2) Some user want to use zram when memory pressure is high.(ie, load zram\n       dynamically, NOT booting time). It does make sense because people don't\n       want to waste memory until memory pressure is high(ie, where zram is really\n       helpful time). In this case, lazy initialzation could be failed easily\n       because we will use GFP_NOIO instead of GFP_KERNEL for avoiding deadlock.\n       So the benefit of lazy initialzation would be mitigated, too.\n\n    3) Metadata overhead is not critical and Nitin has a plan to diet it.\n       4K : 12 byte(64bit machine) -> 64G : 192M so 0.3% isn't big overhead\n       If insane user use such big zram device up to 20, it could consume 6% of ram\n       but efficieny of zram will cover the waste.\n\n    So this patch gives up lazy initialization and instead we initialize metadata\n    at disksize setting time.\n\n    Acked-by: Jerome Marchand <jmarchand@redhat.com>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 0231c403bb065307493fe997ad170487b4d55eb8\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Wed Jan 30 11:41:40 2013 +0900\n\n    zram: force disksize setting before using zram\n\n    Now zram document syas \"set disksize is optional\"\n    but partly it's wrong. When you try to use zram firstly after\n    booting, you must set disksize, otherwise zram can't work because\n    zram gendisk's size is 0. But once you do it, you can use zram freely\n    after reset because reset doesn't reset to zero paradoxically.\n    So in this time, disksize setting is optional.:(\n    It's inconsitent for user behavior and not straightforward.\n\n    This patch forces always setting disksize firstly before using zram.\n    Yes. It changes current behavior so someone could complain when\n    he upgrades zram. Apparently it could be a problem if zram is mainline\n    but it still lives in staging so behavior could be changed for right\n    way to go. Let them excuse.\n\n    Acked-by: Jerome Marchand <jmarchand@redhat.com>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 7e5a5104c6af709a8d97d5f4711e7c917761d464\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Wed Jan 30 11:41:39 2013 +0900\n\n    zram: Fix deadlock bug in partial read/write\n\n    Now zram allocates new page with GFP_KERNEL in zram I/O path\n    if IO is partial. Unfortunately, It may cause deadlock with\n    reclaim path like below.\n\n    write_page from fs\n    fs_lock\n    allocation(GFP_KERNEL)\n    reclaim\n    pageout\n    \t\t\t\twrite_page from fs\n    \t\t\t\tfs_lock <-- deadlock\n\n    This patch fixes it by using GFP_NOIO.  In read path, we\n    reorganize code flow so that kmap_atomic is called after the\n    GFP_NOIO allocation.\n\n    Cc: stable@vger.kernel.org\n    Acked-by: Jerome Marchand <jmarchand@redhat.com>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    [ penberg@kernel.org: don't use GFP_ATOMIC ]\n    Signed-off-by: Pekka Enberg <penberg@kernel.org>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 0d145a501778042d0411c843ed5b468b41f8a171\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Wed Jan 30 09:36:52 2013 -0600\n\n    staging: zsmalloc: remove unused pool name\n\n    zs_create_pool() currently takes a name argument which is\n    never used in any useful way.\n\n    This patch removes it.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Acked-by: Rik van Riel <riel@redhat.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 8f5f90a872c38b4e78f3cc95e8a25434b98e4db2\nMerge: c0cd2da 949db15\nAuthor: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nDate:   Fri Jan 25 21:25:02 2013 -0800\n\n    Merge 3.8-rc5 into staging-next\n\n    This resolves a merge issue with a iio driver, and the zram code.\n\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit d178a07c4bd380492b6aca9e5d3985c19ca88fdb\nAuthor: Davidlohr Bueso <davidlohr.bueso@hp.com>\nDate:   Tue Jan 1 21:24:29 2013 -0800\n\n    staging: zram: drop zram_stat_dec/inc functions\n\n    It seems like an overkill to have adding and subtracting\n    1 functions from the 32bit counters. Just do it directly.\n\n    Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit cad683fb9d53fa2cbcf82660e663fa1180f86797\nAuthor: Davidlohr Bueso <davidlohr.bueso@hp.com>\nDate:   Tue Jan 1 21:24:22 2013 -0800\n\n    staging: zram: show correct disksize\n\n    The ->disksize variable stores values in units of bytes,\n    print the correct size in Kb\n\n    Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit ca3d70bd68455133eabcb8a0ae1b40254d87188b\nAuthor: Davidlohr Bueso <davidlohr.bueso@hp.com>\nDate:   Tue Jan 1 21:24:13 2013 -0800\n\n    staging: zram: simplify num_devices paramater\n\n    Simplify dealing with num_devices when initializing zram.\n    Also cleanup some of the output messages.\n\n    Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 397c60668aa5ae7130b5ad4e73870d7b8a787085\nAuthor: Nitin Gupta <ngupta@vflare.org>\nDate:   Wed Jan 2 08:53:41 2013 -0800\n\n    staging: zram: fix invalid memory references during disk write\n\n    Fixes a bug introduced by commit c8f2f0db1 (\"zram: Fix handling\n    of incompressible pages\") which caused invalid memory references\n    during disk write. Invalid references could occur in two cases:\n     - Incoming data expands on compression: In this case, reference was\n    made to kunmap()'ed bio page.\n     - Partial (non PAGE_SIZE) write with incompressible data: In this\n    case, reference was made to a kfree()'ed buffer.\n\n    Fixes bug 50081:\n    https://bugzilla.kernel.org/show_bug.cgi?id=50081\n\n    Signed-off-by: Nitin Gupta <ngupta@vflare.org>\n    Cc: stable <stable@vger.kernel.org>\n    Reported-by: Mihail Kasadjikov <hamer.mk@gmail.com>\n    Reported-by: Tomas M <tomas@slax.org>\n    Reviewed-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit dbc320f7490933eb6a073d82aceac75d5e7ce82b\nAuthor: Masanari Iida <standby24x7@gmail.com>\nDate:   Mon Jan 7 23:28:10 2013 +0900\n\n    staging: Add angle bracket before and after the URL\n\n    Add missing angle bracket before and after the URL.\n\n    Signed-off-by: Masanari Iida <standby24x7@gmail.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 26907840e63b3187266db1865e76ea9e98b01b19\nAuthor: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nDate:   Tue Oct 30 22:42:31 2012 +0300\n\n    staging: zram: handle mem suffixes in disk size zram_sysfs parameter\n\n    Use memparse() to allow mem suffixes in disksize sysfs number.\n    Examples:\n        echo 256K > /sys/block/zram0/disksize\n        echo 512M > /sys/block/zram0/disksize\n        echo 1G > /sys/block/zram0/disksize\n\n    Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\n    Reviewed-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 37b51fdddf64e7ba0971d070428655f8d6f36578\nAuthor: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nDate:   Tue Oct 30 22:40:23 2012 +0300\n\n    staging: zram: factor-out zram_decompress_page() function\n\n    zram_bvec_read() shared decompress functionality with zram_read_before_write() function.\n    Factor-out and make commonly used zram_decompress_page() function, which also simplified\n    error handling in zram_bvec_read().\n\n    Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\n    Reviewed-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit cb1f6268acd7f1bca7153fa9ca187ffb73f60ab8\nMerge: d9ff393 8f0d816\nAuthor: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nDate:   Mon Oct 29 08:37:12 2012 -0700\n\n    Merge 3.7-rc3 into staging-next\n\n    This resolves the conflict with:\n    \tdrivers/staging/comedi/drivers/amplc_dio200.c\n    and syncs up the changes that happened in the staging directory for\n    3.7-rc3.\n\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit c8f2f0db1d0294aaf37e8a85bea9bbc4aaf5c0fe\nAuthor: Nitin Gupta <ngupta@vflare.org>\nDate:   Wed Oct 10 17:42:18 2012 -0700\n\n    staging: zram: Fix handling of incompressible pages\n\n    Change 130f315a (staging: zram: remove special handle of uncompressed page)\n    introduced a bug in the handling of incompressible pages which resulted in\n    memory allocation failure for such pages.\n\n    When a page expands on compression, say from 4K to 4K+30, we were trying to\n    do zsmalloc(pool, 4K+30). However, the maximum size which zsmalloc can\n    allocate is PAGE_SIZE (for obvious reasons), so such allocation requests\n    always return failure (0).\n\n    For a page that has compressed size larger than the original size (this may\n    happen with already compressed or random data), there is no point storing\n    the compressed version as that would take more space and would also require\n    time for decompression when needed again. So, the fix is to store any page,\n    whose compressed size exceeds a threshold (max_zpage_size), as-it-is i.e.\n    without compression.  Memory required for storing this uncompressed page can\n    then be requested from zsmalloc which supports PAGE_SIZE sized allocations.\n\n    Lastly, the fix checks that we do not attempt to \"decompress\" the page which\n    we stored in the uncompressed form -- we just memcpy() out such pages.\n\n    Signed-off-by: Nitin Gupta <ngupta@vflare.org>\n    Reported-by: viechweg@gmail.com\n    Reported-by: paerley@gmail.com\n    Reported-by: wu.tommy@gmail.com\n    Acked-by: Minchan Kim <minchan@kernel.org>\n    Cc: stable <stable@vger.kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 55dcbbb1bf7eef83bcd3e0ba8de0b359a45804ed\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Wed Oct 10 08:49:52 2012 +0900\n\n    staging: zram: correct obsolete comment on max_zpage_size\n\n    Zram doesn't use xv_malloc any more so it doesn't have\n    limitation about zobj_header.\n\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit b74185108668ef966e663878adbad65e03bfcb43\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Mon Jul 2 16:15:52 2012 -0500\n\n    staging: zsmalloc: add mapping modes\n\n    This patch improves mapping performance in zsmalloc by getting\n    usage information from the user in the form of a \"mapping mode\"\n    and using it to avoid unnecessary copying for objects that span\n    pages.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 6e2361720b9da9ec830d407da058ca1827e62b12\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Mon Jun 25 11:14:36 2012 -0500\n\n    staging: zram/zcache: swtich Kconfig dependency from X86 to ZSMALLOC\n\n    This patch switches zcache and zram dependency to ZSMALLOC\n    rather than X86.  There is no net change since ZSMALLOC\n    depends on X86, however, this prevent further changes to\n    these files as zsmalloc dependencies change.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 80677c2538283678c7b2ef7ebbd653a3fa54d086\nAuthor: Sam Hansen <solid.se7en@gmail.com>\nDate:   Thu Jun 7 16:03:48 2012 -0700\n\n    staging: zram: conventions, __aligned() attribute\n\n    Using the __aligned() attribute in favor of __attribute__((aligned(size)))\n\n    Signed-off-by: Sam Hansen <solid.se7en@gmail.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 94b8435ff4d46dde75173da45564b0d65889dc64\nAuthor: Sam Hansen <solid.se7en@gmail.com>\nDate:   Thu Jun 7 16:03:47 2012 -0700\n\n    staging: zram: conventions pr_warning -> pr_warn()\n\n    Porting zram to use the pr_warn() function instead of the deprecated\n    pr_warning().\n\n    Signed-off-by: Sam Hansen <solid.se7en@gmail.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 130f315a174d127cbb90d4d1a4a7088dbcf930b5\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Fri Jun 8 15:39:27 2012 +0900\n\n    staging: zram: remove special handle of uncompressed page\n\n    xvmalloc can't handle PAGE_SIZE page so that zram have to\n    handle it specially but zsmalloc can do it so let's remove\n    unnecessary special handling code.\n\n    Quote from Nitin\n    \"I think page vs handle distinction was added since xvmalloc could not\n    handle full page allocation. Now that zsmalloc allows full page\n    allocation, we can just use it for both cases. This would also allow\n    removing the ZRAM_UNCOMPRESSED flag. The only downside will be slightly\n    slower code path for full page allocation but this event is anyways\n    supposed to be rare, so should be fine.\"\n\n    1. This patch reduces code very much.\n\n     drivers/staging/zram/zram_drv.c   |  104 +++++--------------------------------\n     drivers/staging/zram/zram_drv.h   |   17 +-----\n     drivers/staging/zram/zram_sysfs.c |    6 +--\n     3 files changed, 15 insertions(+), 112 deletions(-)\n\n    2. change pages_expand with bad_compress so it can count\n       bad compression(above 75%) ratio.\n\n    3. remove zobj_header which is for back-reference for defragmentation\n       because firstly, it's not used at the moment and zsmalloc can't handle\n       bigger size than PAGE_SIZE so zram can't do it any more without redesign.\n\n    Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 374a69191d12a0525b7ffe1197abc30c4795a230\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Fri Jun 8 15:39:26 2012 +0900\n\n    staging: zram: fix random data read\n\n    fd1a30de makes a bug that it uses (struct page *) as zsmalloc's handle\n    although it's a uncompressed page so that it can access random page,\n    return random data or even crashed by get_first_page in zs_map_object.\n\n    Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Cc: Jerome Marchand <jmarchan@redhat.com>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit c234434835b1f4bad9bdbae6710044cba387c9e5\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Fri Jun 8 15:39:25 2012 +0900\n\n    staging: zsmalloc: zsmalloc: use unsigned long instead of void *\n\n    We should use unsigned long as handle instead of void * to avoid any\n    confusion. Without this, users may just treat zs_malloc return value as\n    a pointer and try to deference it.\n\n    This patch passed compile test(zram, zcache and ramster) and zram is\n    tested on qemu.\n\n    changelog\n      * from v2\n    \t- remove hval pointed out by Nitin\n    \t- based on next-20120607\n      * from v1\n    \t- change zcache's zv_create return value\n    \t- baesd on next-20120604\n\n    Cc: Dan Magenheimer <dan.magenheimer@oracle.com>\n    Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\nChange-Id: I5157794e120bbae7ba1e5d0f122dae4fba4a079b\nSigned-off-by: Larry Bassel <lbassel@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/42d7712f9a9bffe5ee09c1e6aed136d7a02c14c3"},{"sha":"9aeead68d7d6b54af624a54a91cf480591670c25","author":{"name":"Larry Bassel","email":"1a59eee42ccf79516f286d1b3c03584de2ea8f50@codeaurora.org"},"message":"zsmalloc: use 3.10 version of zsmalloc\n\nAuthor: Arnd Bergmann <arnd@arndb.de>\nDate:   Tue Apr 23 18:30:48 2013 +0200\n\n    staging/zsmalloc: don't use pgtable-mapping from modules\n\n    Building zsmalloc as a module does not work on ARM because it uses\n    an interface that is not exported:\n\n    ERROR: \"flush_tlb_kernel_range\" [drivers/staging/zsmalloc/zsmalloc.ko] undefined!\n\n    Since this is only used as a performance optimization and only on ARM,\n    we can avoid the problem simply by not using that optimization when\n    building zsmalloc it is a loadable module.\n\n    flush_tlb_kernel_range is often an inline function, but out of the\n    architectures that use an extern function, only powerpc exports\n    it.\n\n    Signed-off-by: Arnd Bergmann <arnd@arndb.de>\n    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n    Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Cc: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit d95abbbb291bf5bce078148f53603ce9c0aa1d44\nAuthor: Joerg Roedel <joro@8bytes.org>\nDate:   Wed Mar 27 01:43:14 2013 +0100\n\n    staging: zsmalloc: Fix link error on ARM\n\n    Testing the arm chromebook config against the upstream\n    kernel produces a linker error for the zsmalloc module from\n    staging. The symbol flush_tlb_kernel_range is not available\n    there. Fix this by removing the reimplementation of\n    unmap_kernel_range in the zsmalloc module and using the\n    function directly. The unmap_kernel_range function is not\n    usable by modules, so also disallow building the driver as a\n    module for now.\n\n    Cc: stable <stable@vger.kernel.org>\n    Signed-off-by: Joerg Roedel <joro@8bytes.org>\n    Acked-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 22b751c3d0376e86a377e3a0aa2ddbbe9d2eefc1\nAuthor: Mel Gorman <mgorman@suse.de>\nDate:   Fri Feb 22 16:34:59 2013 -0800\n\n    mm: rename page struct field helpers\n\n    The function names page_xchg_last_nid(), page_last_nid() and\n    reset_page_last_nid() were judged to be inconsistent so rename them to a\n    struct_field_op style pattern.  As it looked jarring to have\n    reset_page_mapcount() and page_nid_reset_last() beside each other in\n    memmap_init_zone(), this patch also renames reset_page_mapcount() to\n    page_mapcount_reset().  There are others like init_page_count() but as\n    it is used throughout the arch code a rename would likely cause more\n    conflicts than it is worth.\n\n    [akpm@linux-foundation.org: fix zcache]\n    Signed-off-by: Mel Gorman <mgorman@suse.de>\n    Suggested-by: Andrew Morton <akpm@linux-foundation.org>\n    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>\n    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n\ncommit 0d145a501778042d0411c843ed5b468b41f8a171\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Wed Jan 30 09:36:52 2013 -0600\n\n    staging: zsmalloc: remove unused pool name\n\n    zs_create_pool() currently takes a name argument which is\n    never used in any useful way.\n\n    This patch removes it.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Acked-by: Rik van Riel <riel@redhat.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 9915518887e83764269d5b617d01782893877ed3\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Mon Jan 28 10:00:08 2013 +0900\n\n    staging: zsmalloc: Fix TLB coherency and build problem\n\n    Recently, Matt Sealey reported he fail to build zsmalloc caused by\n    using of local_flush_tlb_kernel_range which are architecture dependent\n    function so !CONFIG_SMP in ARM couldn't implement it so it ends up\n    build error following as.\n\n      MODPOST 216 modules\n      LZMA    arch/arm/boot/compressed/piggy.lzma\n      AS      arch/arm/boot/compressed/lib1funcs.o\n    ERROR: \"v7wbi_flush_kern_tlb_range\"\n    [drivers/staging/zsmalloc/zsmalloc.ko] undefined!\n    make[1]: *** [__modpost] Error 1\n    make: *** [modules] Error 2\n    make: *** Waiting for unfinished jobs....\n\n    The reason we used that function is copy method by [1]\n    was really slow in ARM but at that time.\n\n    More severe problem is ARM can prefetch speculatively on other CPUs\n    so under us, other TLBs can have an entry only if we do flush local\n    CPU. Russell King pointed that. Thanks!\n    We don't have many choices except using flush_tlb_kernel_range.\n\n    My experiment in ARMv7 processor 4 core didn't make any difference with\n    zsmapbench[2] between local_flush_tlb_kernel_range and flush_tlb_kernel_range\n    but still page-table based is much better than copy-based.\n\n    * bigger is better.\n\n    1. local_flush_tlb_kernel_range: 3918795 mappings\n    2. flush_tlb_kernel_range : 3989538 mappings\n    3. copy-based: 635158 mappings\n\n    This patch replace local_flush_tlb_kernel_range with\n    flush_tlb_kernel_range which are avaialbe in all architectures\n    because we already have used it in vmalloc allocator which are\n    generic one so build problem should go away and performane loss\n    shoud be void.\n\n    [1] f553646, zsmalloc: add page table mapping method\n    [2] https://github.com/spartacus06/zsmapbench\n\n    Cc: stable@vger.kernel.org\n    Cc: Dan Magenheimer <dan.magenheimer@oracle.com>\n    Cc: Russell King <linux@arm.linux.org.uk>\n    Cc: Konrad Rzeszutek Wilk <konrad@darnok.org>\n    Cc: Nitin Gupta <ngupta@vflare.org>\n    Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Reported-by: Matt Sealey <matt@genesi-usa.com>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit d662b8eba94e9f6d4c036719dbf629ef0c9309cf\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Fri Jan 25 11:46:18 2013 -0600\n\n    staging: zsmalloc: make CLASS_DELTA relative to PAGE_SIZE\n\n    Right now ZS_SIZE_CLASS_DELTA is hardcoded to be 16.  This\n    creates 254 classes for systems with 4k pages. However, on\n    PPC64 with 64k pages, it creates 4095 classes which is far\n    too many.\n\n    This patch makes ZS_SIZE_CLASS_DELTA relative to PAGE_SIZE\n    so that regardless of the page size, there will be the same\n    number of classes.\n\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Acked-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 4bbc0bc06b8b0cced31ee17beb753ad51a2e47e7\nAuthor: Davidlohr Bueso <davidlohr.bueso@hp.com>\nDate:   Fri Jan 4 12:14:00 2013 -0800\n\n    staging: zsmalloc: comment zs_create_pool function\n\n    Just as with zs_malloc() and zs_map_object(), it is worth\n    formally commenting the zs_create_pool() function.\n\n    Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 0959c63f11c3bbef0a7d6c5011be8d25503f547c\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Wed Aug 8 15:12:17 2012 +0900\n\n    zsmalloc: collapse internal .h into .c\n\n    The patch collapses in the internal zsmalloc_int.h into\n    the zsmalloc-main.c file.\n\n    This is done in preparation for the promotion to mm/ where\n    separate internal headers are discouraged.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit f553646a67cb215577402cb702b67c8cf8fdb46f\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Wed Jul 18 11:55:56 2012 -0500\n\n    staging: zsmalloc: add page table mapping method\n\n    This patchset provides page mapping via the page table.\n    On some archs, most notably ARM, this method has been\n    demonstrated to be faster than copying.\n\n    The logic controlling the method selection (copy vs page table)\n    is controlled by the definition of USE_PGTABLE_MAPPING which\n    is/can be defined for any arch that performs better with page\n    table mapping.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Acked-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit c60369f011251c60de506994aab088f1afb90bf4\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Wed Jul 18 11:55:55 2012 -0500\n\n    staging: zsmalloc: prevent mappping in interrupt context\n\n    Because we use per-cpu mapping areas shared among the\n    pools/users, we can't allow mapping in interrupt context\n    because it can corrupt another users mappings.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Acked-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 6539a36c0cb9ec7f1c1633b535ac83b2bdf0ae6d\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Wed Jul 18 11:55:54 2012 -0500\n\n    staging: zsmalloc: s/firstpage/page in new copy map funcs\n\n    firstpage already has precedent and meaning the first page\n    of a zspage.  In the case of the copy mapping functions,\n    it is the first of a pair of pages needing to be mapped.\n\n    This patch just renames the firstpage argument to \"page\" to\n    avoid confusion.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Acked-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit b74185108668ef966e663878adbad65e03bfcb43\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Mon Jul 2 16:15:52 2012 -0500\n\n    staging: zsmalloc: add mapping modes\n\n    This patch improves mapping performance in zsmalloc by getting\n    usage information from the user in the form of a \"mapping mode\"\n    and using it to avoid unnecessary copying for objects that span\n    pages.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 166cfda752ca22eb6912614993b85f9a997dbd8f\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Mon Jul 2 16:15:51 2012 -0500\n\n    staging: zsmalloc: add details to zs_map_object boiler plate\n\n    Add information on the usage limits of zs_map_object()\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 103123305c4f695cbb11555d51a32ea14d6bed05\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Mon Jul 2 16:15:50 2012 -0500\n\n    staging: zsmalloc: add single-page object fastpath in unmap\n\n    Improve zs_unmap_object() performance by adding a fast path for\n    objects that don't span pages.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 5f601902c61e6cda627ec71c10609021067ed0fa\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Mon Jul 2 16:15:49 2012 -0500\n\n    staging: zsmalloc: remove x86 dependency\n\n    This patch replaces the page table assisted object mapping\n    method, which has x86 dependencies, with a arch-independent\n    method that does a simple copy into a temporary per-cpu\n    buffer.\n\n    While a copy seems like it would be worse than mapping the pages,\n    tests demonstrate the copying is always faster and, in the case of\n    running inside a KVM guest, roughly 4x faster.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 069f101fa463351f528773d73b74e9b606b3f66a\nAuthor: Ben Hutchings <ben@decadent.org.uk>\nDate:   Wed Jun 20 02:31:11 2012 +0100\n\n    staging: zsmalloc: Finish conversion to a separate module\n\n    ZSMALLOC is tristate, but the code has no MODULE_LICENSE and since it\n    depends on GPL-only symbols it cannot be loaded as a module.  This in\n    turn breaks zram which now depends on it.  I assume it's meant to be\n    Dual BSD/GPL like the other z-stuff.\n\n    There is also no module_exit, which will make it impossible to unload.\n    Add the appropriate module_init and module_exit declarations suggested\n    by comments.\n\n    Reported-by: Christian Ohm <chr.ohm@gmx.net>\n    References: http://bugs.debian.org/677273\n    Cc: stable@vger.kernel.org # v3.4\n    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>\n    Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit b4b700c5a61c6e6db976f60d4eb6ad369e838aa9\nAuthor: Seth Jennings <sjenning@linux.vnet.ibm.com>\nDate:   Wed Jun 13 16:03:42 2012 -0500\n\n    staging: zsmalloc: fix uninit'ed variable warning\n\n    This patch fixes an uninitialized variable warning in\n    alloc_zspage().  It also fixes the secondary issue of\n    prev_page leaving scope on each loop iteration.  The only\n    reason this ever worked was because prev_page was occupying\n    the same space on the stack on each iteration.\n\n    Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Reported-by: Andrew Morton <akpm@linux-foundation.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 2db51dae56240b52fe08ddbb1a2eb47fe7cfd044\nAuthor: Nitin Gupta <ngupta@vflare.org>\nDate:   Sat Jun 9 17:41:14 2012 -0700\n\n    staging: zsmalloc documentation\n\n    Documentation of various struct page fields\n    used by zsmalloc.\n\n    Changes for v2:\n    \t- Regroup descriptions as suggested by Konrad\n\n    Signed-off-by: Nitin Gupta <ngupta@vflare.org>\n    Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\n    Reviewed-by: Minchan Kim <minchan@kernel.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit c234434835b1f4bad9bdbae6710044cba387c9e5\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Fri Jun 8 15:39:25 2012 +0900\n\n    staging: zsmalloc: zsmalloc: use unsigned long instead of void *\n\n    We should use unsigned long as handle instead of void * to avoid any\n    confusion. Without this, users may just treat zs_malloc return value as\n    a pointer and try to deference it.\n\n    This patch passed compile test(zram, zcache and ramster) and zram is\n    tested on qemu.\n\n    changelog\n      * from v2\n    \t- remove hval pointed out by Nitin\n    \t- based on next-20120607\n      * from v1\n    \t- change zcache's zv_create return value\n    \t- baesd on next-20120604\n\n    Cc: Dan Magenheimer <dan.magenheimer@oracle.com>\n    Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com>\n    Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 00a61d8618bb7314113eb3ba27c12631cd85c298\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Thu May 3 15:40:40 2012 +0900\n\n    staging: zsmalloc: add/fix function comment\n\n    Add/fix the comment.\n\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit 2e3b61547191a5934ff6c789aaa4d7e9a9e52f5a\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Thu May 3 15:40:39 2012 +0900\n\n    staging: zsmalloc: rename zspage_order with zspage_pages\n\n    zspage_order defines how many pages are needed to make a zspage.\n    So _order_ is rather awkward naming. It already deceive Jonathan\n    - http://lwn.net/Articles/477067/\n    \" For each size, the code calculates an optimum number of pages (up to 16)\"\n\n    Let's change from _order_ to _pages_ and some function names.\n\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit d210267741fb2a8b6d741d9040703683a39087f4\nMerge: 69964ea 5bb196a\nAuthor: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nDate:   Wed May 2 11:48:07 2012 -0700\n\n    Merge 3.4-rc5 into staging-next\n\n    This resolves the conflict in:\n    \tdrivers/staging/vt6656/ioctl.c\n\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\ncommit a27545bf0bab9027e5c040901b68956551d9f63e\nAuthor: Minchan Kim <minchan@kernel.org>\nDate:   Wed Apr 25 15:23:09 2012 +0900\n\n    zsmalloc: use PageFlag macro instead of [set|test]_bit\n\n    MM code always uses PageXXX to handle page flags.\n    Let's keep the consistency.\n\n    Signed-off-by: Minchan Kim <minchan@kernel.org>\n    Acked-by: Nitin Gupta <ngupta@vflare.org>\n    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n\nChange-Id: I542f0b9eaf0264e1c9e38f9669fec8ea0debae7c\nSigned-off-by: Larry Bassel <lbassel@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/9aeead68d7d6b54af624a54a91cf480591670c25"},{"sha":"82aa6845b6681576b04ed46c83e1b1d8145b8c54","author":{"name":"Marlies Ruck","email":"36f1542bd234d54f2347b04ba1ffe696443c68f0@gmail.com"},"message":"Staging: Fixes string split across lines in zram\n\nFixes the following checkpatch warning in zram_drv.c:\nWARNING: quoted string split across lines\n\nSigned-off-by: Marlies Ruck <marlies.ruck@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/82aa6845b6681576b04ed46c83e1b1d8145b8c54"},{"sha":"45505cf24e114c4987fb8f2959a7c1c32280e3ac","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: avoid invalid memory access in zram_exit()\n\nMemory for zram->disk object may have already been freed after returning\nfrom destroy_device(zram), then it's unsafe for zram_reset_device(zram)\nto access zram->disk again.\n\nWe can't solve this bug by flipping the order of destroy_device(zram)\nand zram_reset_device(zram), that will cause deadlock issues to the\nzram sysfs handler.\n\nSo fix it by holding an extra reference to zram->disk before calling\ndestroy_device(zram).\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/45505cf24e114c4987fb8f2959a7c1c32280e3ac"},{"sha":"6b81453223a30fa206598fd90fd0cc8392e0c701","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: use zram->lock to protect zram_free_page() in swap free notify path\n\nzram_slot_free_notify() is free-running without any protection from\nconcurrent operations. So there are race conditions between\nzram_bvec_read()/zram_bvec_write() and zram_slot_free_notify(),\nand possible consequences include:\n1) Trigger BUG_ON(!handle) on zram_bvec_write() side.\n2) Access to freed pages on zram_bvec_read() side.\n3) Break some fields (bad_compress, good_compress, pages_stored)\n   in zram->stats if the swap layer makes concurrently call to\n   zram_slot_free_notify().\n\nSo enhance zram_slot_free_notify() to acquire writer lock on zram->lock\nbefore calling zram_free_page().\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/6b81453223a30fa206598fd90fd0cc8392e0c701"},{"sha":"b838a9fb49a50264644de62c4e1869237026007c","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: destroy all devices on error recovery path in zram_init()\n\nOn error recovery path of zram_init(), it leaks the zram device object\ncausing the failure. So change create_device() to free allocated\nresources on error path.\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nAcked-by: Minchan Kim <minchan@kernel.org>\nAcked-by: Jerome Marchand <jmarchan@redhat.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/b838a9fb49a50264644de62c4e1869237026007c"},{"sha":"b59899d7b7ccc57fb92b05f04e5f087cf45d7e82","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: avoid double free in function zram_bvec_write()\n\nWhen doing a patial write and the whole page is filled with zero,\nzram_bvec_write() will free uncmem twice.\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nAcked-by: Minchan Kim <minchan@kernel.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/b59899d7b7ccc57fb92b05f04e5f087cf45d7e82"},{"sha":"74a765836c6b2fa2bd338f9cd44cf916421172a5","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: avoid access beyond the zram device\n\nFunction valid_io_request() should verify the entire request are within\nthe zram device address range. Otherwise it may cause invalid memory\naccess when accessing/modifying zram->meta->table[index] because the\n'index' is out of range. Then it may access non-exist memory, randomly\nmodify memory belong to other subsystems, which is hard to track down.\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/74a765836c6b2fa2bd338f9cd44cf916421172a5"},{"sha":"40a181933fa809b7386eef359563bb78da61933f","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: kill unused zram_get_num_devices()\n\nNow there's no caller of zram_get_num_devices(), so kill it.\nAnd change zram_devices to static because it's only used in zram_drv.c.\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/40a181933fa809b7386eef359563bb78da61933f"},{"sha":"8b757fe617a24c88efcbd6b9d7f661c017a245f2","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: optimize memory operations with clear_page()/copy_page()\n\nSome architectures provides architecture-specific, optimized version of\nclear_page()/copy_page(), which may have better performance than\nmemset()/memcpy(). So use clear_page()/copy_page() to optimize zram\nperformance if possible.\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/8b757fe617a24c88efcbd6b9d7f661c017a245f2"},{"sha":"2378c8bb0192129791218736a2970cd8df0b806c","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: protect sysfs handler from invalid memory access\n\nUse zram->init_lock to protect access to zram->meta, otherwise it\nmay cause invalid memory access if zram->meta has been freed by\nzram_reset_device().\n\nThis issue may be triggered by:\nThread 1:\nwhile true; do cat mem_used_total; done\nThread 2:\nwhile true; do echo 8M > disksize; echo 1 > reset; done\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/2378c8bb0192129791218736a2970cd8df0b806c"},{"sha":"e4f83c24a7d2c30d46eb7e899a665365d20a144b","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: simplify and optimize dev_to_zram()\n\nSimplify and optimize dev_to_zram() without walking the zram_devices\narray.\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/e4f83c24a7d2c30d46eb7e899a665365d20a144b"},{"sha":"d61341366899780845cd92971cda87814f1e702c","author":{"name":"Jiang Liu","email":"c0a41b948164b7a0d38af35906b7c492f65cef4f@gmail.com"},"message":"zram: use atomic64_xxx() to replace zram_stat64_xxx()\n\nUse atomic64_xxx() to replace open-coded zram_stat64_xxx().\nSome architectures have native support of atomic64 operations,\nso we can get rid of the spin_lock() in zram_stat64_xxx().\nOn the other hand, for platforms use generic version of atomic64\nimplement, it may cause an extra save/restore of the interrupt\nflag.  So it's a tradeoff.\n\nSigned-off-by: Jiang Liu <jiang.liu@huawei.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/d61341366899780845cd92971cda87814f1e702c"},{"sha":"d61bb50620519127be82e51b17a5060aa34f93eb","author":{"name":"Sergey Senozhatsky","email":"9251ceca1068cc8334161fa91b1f6065a5ee8fa4@gmail.com"},"message":"zram: remove zram_sysfs file (v2)\n\nMove zram sysfs code to zram drv and remove zram_sysfs.c\nfile. This gives ability to make static a number of previously\nexported zram functions, used from zram sysfs, e.g. internal zram\nzram_meta_alloc/free(). We also can drop zram_drv wrapper\nfunctions, used from zram sysfs:\ne.g. zram_reset_device()/__zram_reset_device() pair.\n\nv2: as suggested by Greg K-H, move MODULE description to the\nbottom of the file.\n\nSigned-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/d61bb50620519127be82e51b17a5060aa34f93eb"},{"sha":"a0992b13c9e5ea981dc788fa9817c2ab5e8fd013","author":{"name":"Marlies Ruck","email":"36f1542bd234d54f2347b04ba1ffe696443c68f0@gmail.com"},"message":"Staging: Fixes string split across lines in zsmalloc zsmalloc-main\n\nFixes the following checkpatch warning:\nWARNING: quoted string split across lines\n\nSigned-off-by: Marlies Ruck <marlies.ruck@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/a0992b13c9e5ea981dc788fa9817c2ab5e8fd013"},{"sha":"6ef6453280e780a5485817ae7d90521b3fb8cb54","author":{"name":"Sara Bird","email":"cd4fa3e9633f4aa3c7e23f379bd938f9a2e43f73@gmail.com"},"message":"staging/zsmalloc: Fixed up incorrect formatted comments\n\nThe existing comments are using an odd style. Fixed them up to adhere\nto the StyleGuide. No code changes.\n\nSigned-off-by: Sara Bird <sara.bird.iar@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/6ef6453280e780a5485817ae7d90521b3fb8cb54"},{"sha":"4ae970b7201712d689915dfcf0216350abc8bdb8","author":{"name":"Sunghan Suh","email":"53e3df6fed96eccc949226f7ec5e058b84f4de29@samsung.com"},"message":"staging: zsmalloc: access page->private by using page_private macro\n\nSigned-off-by: Sunghan Suh <sunghan.suh@samsung.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/4ae970b7201712d689915dfcf0216350abc8bdb8"},{"sha":"878e720c1f36f82bdc8f3c3a65661592b8a7f7bc","author":{"name":"Sergey Senozhatsky","email":"9251ceca1068cc8334161fa91b1f6065a5ee8fa4@gmail.com"},"message":"zram: allow request end to coincide with disksize\n\nPass valid_io_request() checks if request end coincides with disksize\n(end equals bound), only fail if we attempt to read beyond the bound.\n\nmkfs.ext2 produces numerous errors:\n[ 2164.632747] quiet_error: 1 callbacks suppressed\n[ 2164.633260] Buffer I/O error on device zram0, logical block 153599\n[ 2164.633265] lost page write due to I/O error on zram0\n\nSigned-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/878e720c1f36f82bdc8f3c3a65661592b8a7f7bc"},{"sha":"afa56a25f1c67f55ae36f1276b9a4a019663fa16","author":{"name":"Sergey Senozhatsky","email":"9251ceca1068cc8334161fa91b1f6065a5ee8fa4@gmail.com"},"message":"staging: zram: protect zram_reset_device() call\n\nCommit 9b3bb7abcdf2df0f1b2657e6cbc9d06bc2b3b36f (remove\nzram_sysfs file (v2)) accidentally made zram_reset_device()\nracy. Protect zram_reset_device() call with zram->lock.\n\nSigned-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nAcked-by: Jerome Marchand <jmarchand@redhat.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/afa56a25f1c67f55ae36f1276b9a4a019663fa16"},{"sha":"50354709d90b078afb985089fa8c8c1f7c8367fc","author":{"name":"Konrad Rzeszutek Wilk","email":"c69fee989f0225319403f1dce7154227da76fae0@oracle.com"},"message":"staging: zram: Add auto loading of module if user opens /dev/zram.\n\nGreg spotted that said driver is not subscribing to the automagic\nmechanism of auto-loading if a user tries to open /dev/zram.\n\nThis fixes it.\n\nCC: Minchan Kim <minchan@kernel.org>\nSigned-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Olav Haugan <ohaugan@codeaurora.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/kabata1975/kernel_lge_hammerhead/commits/50354709d90b078afb985089fa8c8c1f7c8367fc"}]}
{"actor":{"display_login":"kabata1975"}}