{"push_id":691634507,"size":12,"distinct_size":12,"ref":"refs/heads/master","head":"2bfc60dd2869745f5bbed9583c517cc76e3db924","before":"e64f638483a21105c7ce330d543fa1f1c35b5bc7","commits":[{"sha":"5eea900389f73ad715649e3c3e78fc4482248635","author":{"email":"ba324ca7b1c77fc20bb970d5aff6eea9377918a5@roeck-us.net","name":"Guenter Roeck"},"message":"blackfin: Fix build error\n\nFix\n\ninclude/asm-generic/io.h: In function 'readb':\ninclude/asm-generic/io.h:113:2: error:\n\timplicit declaration of function 'bfin_read8'\ninclude/asm-generic/io.h: In function 'readw':\ninclude/asm-generic/io.h:121:2: error:\n\timplicit declaration of function 'bfin_read16'\ninclude/asm-generic/io.h: In function 'readl':\ninclude/asm-generic/io.h:129:2: error:\n\timplicit declaration of function 'bfin_read32'\ninclude/asm-generic/io.h: In function 'writeb':\ninclude/asm-generic/io.h:147:2: error:\n\timplicit declaration of function 'bfin_write8'\ninclude/asm-generic/io.h: In function 'writew':\ninclude/asm-generic/io.h:155:2: error:\n\timplicit declaration of function 'bfin_write16'\ninclude/asm-generic/io.h: In function 'writel':\ninclude/asm-generic/io.h:163:2: error:\n\timplicit declaration of function 'bfin_write32'\n\nReported-by: Geert Uytterhoeven <geert@linux-m68k.org>\nFixes: 1a3372bc522ef (\"blackfin: io: define __raw_readx/writex with\n\tbfin_readx/writex\")\nCc: Steven Miao <realmz6@gmail.com>\nSigned-off-by: Guenter Roeck <linux@roeck-us.net>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/5eea900389f73ad715649e3c3e78fc4482248635"},{"sha":"80524e933658077842271fbf34e6861c41095a32","author":{"email":"ba324ca7b1c77fc20bb970d5aff6eea9377918a5@roeck-us.net","name":"Guenter Roeck"},"message":"score: Fix exception handler label\n\nThe latest version of modinfo fails to compile score architecture\ntargets with the following error.\n\nFATAL: The relocation at __ex_table+0x634 references\nsection \"__ex_table\" which is not executable, IOW\nthe kernel will fault if it ever tries to\njump to it.  Something is seriously wrong\nand should be fixed.\n\nThe probem is caused by a bad label in an __ex_table entry.\n\nAcked-by: Lennox Wu <lennox.wu@gmail.com>\nCc: Quentin Casasnovas <quentin.casasnovas@oracle.com>\nSigned-off-by: Guenter Roeck <linux@roeck-us.net>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/80524e933658077842271fbf34e6861c41095a32"},{"sha":"85bd839983778fcd0c1c043327b14a046e979b39","author":{"email":"9eae2d327ddc4c2ff66f290d0aa6288f14fc5928@cn.fujitsu.com","name":"Gu Zheng"},"message":"mm/memory_hotplug.c: set zone->wait_table to null after freeing it\n\nIzumi found the following oops when hot re-adding a node:\n\n    BUG: unable to handle kernel paging request at ffffc90008963690\n    IP: __wake_up_bit+0x20/0x70\n    Oops: 0000 [#1] SMP\n    CPU: 68 PID: 1237 Comm: rs:main Q:Reg Not tainted 4.1.0-rc5 #80\n    Hardware name: FUJITSU PRIMEQUEST2800E/SB, BIOS PRIMEQUEST 2000 Series BIOS Version 1.87 04/28/2015\n    task: ffff880838df8000 ti: ffff880017b94000 task.ti: ffff880017b94000\n    RIP: 0010:[<ffffffff810dff80>]  [<ffffffff810dff80>] __wake_up_bit+0x20/0x70\n    RSP: 0018:ffff880017b97be8  EFLAGS: 00010246\n    RAX: ffffc90008963690 RBX: 00000000003c0000 RCX: 000000000000a4c9\n    RDX: 0000000000000000 RSI: ffffea101bffd500 RDI: ffffc90008963648\n    RBP: ffff880017b97c08 R08: 0000000002000020 R09: 0000000000000000\n    R10: 0000000000000000 R11: 0000000000000000 R12: ffff8a0797c73800\n    R13: ffffea101bffd500 R14: 0000000000000001 R15: 00000000003c0000\n    FS:  00007fcc7ffff700(0000) GS:ffff880874800000(0000) knlGS:0000000000000000\n    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n    CR2: ffffc90008963690 CR3: 0000000836761000 CR4: 00000000001407e0\n    Call Trace:\n      unlock_page+0x6d/0x70\n      generic_write_end+0x53/0xb0\n      xfs_vm_write_end+0x29/0x80 [xfs]\n      generic_perform_write+0x10a/0x1e0\n      xfs_file_buffered_aio_write+0x14d/0x3e0 [xfs]\n      xfs_file_write_iter+0x79/0x120 [xfs]\n      __vfs_write+0xd4/0x110\n      vfs_write+0xac/0x1c0\n      SyS_write+0x58/0xd0\n      system_call_fastpath+0x12/0x76\n    Code: 5d c3 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 48 83 ec 20 65 48 8b 04 25 28 00 00 00 48 89 45 f8 31 c0 48 8d 47 48 <48> 39 47 48 48 c7 45 e8 00 00 00 00 48 c7 45 f0 00 00 00 00 48\n    RIP  [<ffffffff810dff80>] __wake_up_bit+0x20/0x70\n     RSP <ffff880017b97be8>\n    CR2: ffffc90008963690\n\nReproduce method (re-add a node)::\n  Hot-add nodeA --> remove nodeA --> hot-add nodeA (panic)\n\nThis seems an use-after-free problem, and the root cause is\nzone->wait_table was not set to *NULL* after free it in\ntry_offline_node.\n\nWhen hot re-add a node, we will reuse the pgdat of it, so does the zone\nstruct, and when add pages to the target zone, it will init the zone\nfirst (including the wait_table) if the zone is not initialized.  The\njudgement of zone initialized is based on zone->wait_table:\n\n\tstatic inline bool zone_is_initialized(struct zone *zone)\n\t{\n\t\treturn !!zone->wait_table;\n\t}\n\nso if we do not set the zone->wait_table to *NULL* after free it, the\nmemory hotplug routine will skip the init of new zone when hot re-add\nthe node, and the wait_table still points to the freed memory, then we\nwill access the invalid address when trying to wake up the waiting\npeople after the i/o operation with the page is done, such as mentioned\nabove.\n\nSigned-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>\nReported-by: Taku Izumi <izumi.taku@jp.fujitsu.com>\nReviewed by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>\nCc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>\nCc: Tang Chen <tangchen@cn.fujitsu.com>\nCc: <stable@vger.kernel.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/torvalds/linux/commits/85bd839983778fcd0c1c043327b14a046e979b39"},{"sha":"7d638093d4b0e9ef15bd78f38f11f126e773cc14","author":{"email":"0d62248ee021b6e01c0ee596a62a5b145b996974@parallels.com","name":"Vladimir Davydov"},"message":"memcg: do not call reclaim if !__GFP_WAIT\n\nWhen trimming memcg consumption excess (see memory.high), we call\ntry_to_free_mem_cgroup_pages without checking if we are allowed to sleep\nin the current context, which can result in a deadlock.  Fix this.\n\nFixes: 241994ed8649 (\"mm: memcontrol: default hierarchy interface for memory\")\nSigned-off-by: Vladimir Davydov <vdavydov@parallels.com>\nCc: Johannes Weiner <hannes@cmpxchg.org>\nAcked-by: Michal Hocko <mhocko@suse.cz>\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/torvalds/linux/commits/7d638093d4b0e9ef15bd78f38f11f126e773cc14"},{"sha":"d7ad41a1c498729b7584c257710b1b437a0c1470","author":{"email":"1efac8fcaddebe669cb35e498dd211e17e274493@samsung.com","name":"Weijie Yang"},"message":"zram: clear disk io accounting when reset zram device\n\nClear zram disk io accounting when resetting the zram device.  Otherwise\nthe residual io accounting stat will affect the diskstat in the next\nzram active cycle.\n\nSigned-off-by: Weijie Yang <weijie.yang@samsung.com>\nAcked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nAcked-by: Minchan Kim <minchan@kernel.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/torvalds/linux/commits/d7ad41a1c498729b7584c257710b1b437a0c1470"},{"sha":"5129e87cb81996d4d7e8f5a86b5355c5f2d0383b","author":{"email":"16a9a54ddf4259952e3c118c763138e83693d7fd@perches.com","name":"Joe Perches"},"message":"checkpatch: fix \"GLOBAL_INITIALISERS\" test\n\nCommit d5e616fc1c1d (\"checkpatch: add a few more --fix corrections\")\nbroke the GLOBAL_INITIALISERS test with bad parentheses and optional\nleading spaces.\n\nFix it.\n\nSigned-off-by: Joe Perches <joe@perches.com>\nReported-by: Bandan Das <bsd@makefile.in>\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/torvalds/linux/commits/5129e87cb81996d4d7e8f5a86b5355c5f2d0383b"},{"sha":"f371763a79d5212c2cb216b46fa8af46ba56cee3","author":{"email":"331be22c6b63ca3e0a03d408c2d906b1b02cd5f2@cmpxchg.org","name":"Johannes Weiner"},"message":"mm: memcontrol: fix false-positive VM_BUG_ON() on -rt\n\nOn -rt, the VM_BUG_ON(!irqs_disabled()) triggers inside the memcg\nswapout path because the spin_lock_irq(&mapping->tree_lock) in the\ncaller doesn't actually disable the hardware interrupts - which is fine,\nbecause on -rt the tophalves run in process context and so we are still\nsafe from preemption while updating the statistics.\n\nRemove the VM_BUG_ON() but keep the comment of what we rely on.\n\nSigned-off-by: Johannes Weiner <hannes@cmpxchg.org>\nReported-by: Clark Williams <williams@redhat.com>\nCc: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>\nCc: Steven Rostedt <rostedt@goodmis.org>\nCc: Thomas Gleixner <tglx@linutronix.de>\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/torvalds/linux/commits/f371763a79d5212c2cb216b46fa8af46ba56cee3"},{"sha":"02f7b4145da113683ad64c74bf64605e16b71789","author":{"email":"d9c384f6b6e27869ff3b53bd225c29030ac4166b@gmail.com","name":"Sergey Senozhatsky"},"message":"zsmalloc: fix a null pointer dereference in destroy_handle_cache()\n\nIf zs_create_pool()->create_handle_cache()->kmem_cache_create() or\npool->name allocation fails, zs_create_pool()->destroy_handle_cache()\nwill dereference the NULL pool->handle_cachep.\n\nModify destroy_handle_cache() to avoid this.\n\nSigned-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>\nCc: Minchan Kim <minchan@kernel.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/torvalds/linux/commits/02f7b4145da113683ad64c74bf64605e16b71789"},{"sha":"8e76d4eecf7afeec9328e21cd5880e281838d0d6","author":{"email":"39ea6a09710987173e32e37c86918024a0f441c1@suse.de","name":"Mel Gorman"},"message":"sched, numa: do not hint for NUMA balancing on VM_MIXEDMAP mappings\n\nJovi Zhangwei reported the following problem\n\n  Below kernel vm bug can be triggered by tcpdump which mmaped a lot of pages\n  with GFP_COMP flag.\n\n  [Mon May 25 05:29:33 2015] page:ffffea0015414000 count:66 mapcount:1 mapping:          (null) index:0x0\n  [Mon May 25 05:29:33 2015] flags: 0x20047580004000(head)\n  [Mon May 25 05:29:33 2015] page dumped because: VM_BUG_ON_PAGE(compound_order(page) && !PageTransHuge(page))\n  [Mon May 25 05:29:33 2015] ------------[ cut here ]------------\n  [Mon May 25 05:29:33 2015] kernel BUG at mm/migrate.c:1661!\n  [Mon May 25 05:29:33 2015] invalid opcode: 0000 [#1] SMP\n\nIn this case it was triggered by running tcpdump but it's not necessary\nreproducible on all systems.\n\n  sudo tcpdump -i bond0.100 'tcp port 4242' -c 100000000000 -w 4242.pcap\n\nCompound pages cannot be migrated and it was not expected that such pages\nbe marked for NUMA balancing.  This did not take into account that drivers\nsuch as net/packet/af_packet.c may insert compound pages into userspace\nwith vm_insert_page.  This patch tells the NUMA balancing protection\nscanner to skip all VM_MIXEDMAP mappings which avoids the possibility that\ncompound pages are marked for migration.\n\nSigned-off-by: Mel Gorman <mgorman@suse.de>\nReported-by: Jovi Zhangwei <jovi@cloudflare.com>\nCc: Ingo Molnar <mingo@elte.hu>\nCc: Peter Zijlstra <a.p.zijlstra@chello.nl>\nCc: <stable@vger.kernel.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/torvalds/linux/commits/8e76d4eecf7afeec9328e21cd5880e281838d0d6"},{"sha":"5ec45a192fe6e287f0fc06d5ca4f3bd446d94803","author":{"email":"5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org","name":"Andrew Morton"},"message":"arch/x86/kvm/mmu.c: work around gcc-4.4.4 bug\n\nFix this compile issue with gcc-4.4.4:\n\n   arch/x86/kvm/mmu.c: In function 'kvm_mmu_pte_write':\n   arch/x86/kvm/mmu.c:4256: error: unknown field 'cr0_wp' specified in initializer\n   arch/x86/kvm/mmu.c:4257: error: unknown field 'cr4_pae' specified in initializer\n   arch/x86/kvm/mmu.c:4257: warning: excess elements in union initializer\n   ...\n\ngcc-4.4.4 (at least) has issues when using anonymous unions in\ninitializers.\n\nFixes: edc90b7dc4ceef6 (\"KVM: MMU: fix SMAP virtualization\")\nCc: Xiao Guangrong <guangrong.xiao@linux.intel.com>\nCc: Paolo Bonzini <pbonzini@redhat.com>\nCc: Davidlohr Bueso <dave@stgolabs.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/torvalds/linux/commits/5ec45a192fe6e287f0fc06d5ca4f3bd446d94803"},{"sha":"f5278565be81c9dccc10dc83d99f690f572b4fa7","author":{"email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","name":"Linus Torvalds"},"message":"Merge branch 'akpm' (patches from Andrew)\n\nMerge misc fixes from Andrew Morton:\n \"The gcc-4.4.4 workaround has actually been merged into a KVM tree by\n  Paolo but it is stuck in linux-next and mainline needs it\"\n\n* emailed patches from Andrew Morton <akpm@linux-foundation.org>:\n  arch/x86/kvm/mmu.c: work around gcc-4.4.4 bug\n  sched, numa: do not hint for NUMA balancing on VM_MIXEDMAP mappings\n  zsmalloc: fix a null pointer dereference in destroy_handle_cache()\n  mm: memcontrol: fix false-positive VM_BUG_ON() on -rt\n  checkpatch: fix \"GLOBAL_INITIALISERS\" test\n  zram: clear disk io accounting when reset zram device\n  memcg: do not call reclaim if !__GFP_WAIT\n  mm/memory_hotplug.c: set zone->wait_table to null after freeing it","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/f5278565be81c9dccc10dc83d99f690f572b4fa7"},{"sha":"2bfc60dd2869745f5bbed9583c517cc76e3db924","author":{"email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org","name":"Linus Torvalds"},"message":"Merge tag 'misc-for-linus-4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging\n\nPull misc fixes from Guenter Roeck:\n \"There are two patches here.  One fixes a build error affecting the\n  blackfin architecture, the other fixes a build error affecting the\n  score architecture.\n\n  The score maintainer (Lennox Wu) has a hard time sending you the score\n  patch, and the blackfin maintainer (Steven Miao) has been silent since\n  -rc1.  Since 4.1 is about to be released, I figured it would be useful\n  to get the patches upstream to avoid the related build failures in the\n  final release\"\n\n* tag 'misc-for-linus-4.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:\n  score: Fix exception handler label\n  blackfin: Fix build error","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/2bfc60dd2869745f5bbed9583c517cc76e3db924"}]}