diff for duplicates of <51DCBE24.3030406@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 398c8ba..0cbd0f3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -163,3 +163,96 @@ git bisect bad e69e9d4aee712a22665f008ae0550bb3d7c7f7c1 # first bad commit: [e69e9d4aee712a22665f008ae0550bb3d7c7f7c1] vmalloc: introduce remap_vmalloc_range_partial # PATCH INFO + +>From e69e9d4aee712a22665f008ae0550bb3d7c7f7c1 Mon Sep 17 00:00:00 2001 +From: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> +Date: Wed, 3 Jul 2013 15:02:18 -0700 +Subject: [PATCH] vmalloc: introduce remap_vmalloc_range_partial + +We want to allocate ELF note segment buffer on the 2nd kernel in vmalloc +space and remap it to user-space in order to reduce the risk that memory +allocation fails on system with huge number of CPUs and so with huge ELF +note segment that exceeds 11-order block size. + +Although there's already remap_vmalloc_range for the purpose of +remapping vmalloc memory to user-space, we need to specify user-space +range via vma. + Mmap on /proc/vmcore needs to remap range across multiple objects, so +the interface that requires vma to cover full range is problematic. + +This patch introduces remap_vmalloc_range_partial that receives user-space +range as a pair of base address and size and can be used for mmap on +/proc/vmcore case. + +remap_vmalloc_range is rewritten using remap_vmalloc_range_partial. + +[akpm@linux-foundation.org: use PAGE_ALIGNED()] +Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> +Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> +Cc: Vivek Goyal <vgoyal@redhat.com> +Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> +Cc: Lisa Mitchell <lisa.mitchell@hp.com> +Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> +Signed-off-by: Andrew Morton <akpm@linux-foundation.org> +Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> +--- + +# VERSION INFO (`ver_linux` from LTP, after passing xfstests xfs/167): + +NAME=Slackware +VERSION="14.0" +ID=slackware +VERSION_ID=14.0 +PRETTY_NAME="Slackware 14.0" +ANSI_COLOR="0;34" +CPE_NAME="cpe:/o:slackware:slackware_linux:14.0" +HOME_URL="http://slackware.com/" +SUPPORT_URL="http://www.linuxquestions.org/questions/slackware-14/" +BUG_REPORT_URL="http://www.linuxquestions.org/questions/slackware-14/" +Linux plbearer 3.10.0+ #13 Tue Jul 9 10:56:45 EDT 2013 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz GenuineIntel GNU/Linux + +Gnu C gcc (GCC) 4.8.1 +Gnu make 3.82 +util-linux linux 2.21.2 +mount linux 2.21.2 (with libblkid support) +modutils 12 +e2fsprogs 1.42.8 +PPP 2.4.5 +Linux C Library > libc.2.17 +Dynamic linker (ldd) 2.17 +Linux C++ Library 6.0.18 +Procps 3.2.8 +Net-tools 1.60 +iproute2 iproute2-ss130221 +Kbd 1.15.3 +Sh-utils 8.21 + +free reports: + total used free shared buffers cached +Mem: 764548 755164 9384 0 736 646508 +-/+ buffers/cache: 107920 656628 +Swap: 616444 0 616444 + +/proc/cpuinfo +processor : 0 +vendor_id : GenuineIntel +cpu family : 15 +model : 2 +model name : Intel(R) Pentium(R) 4 CPU 1.80GHz +stepping : 7 +microcode : 0x24 +cpu MHz : 1794.187 +cache size : 512 KB +fdiv_bug : no +f00f_bug : no +coma_bug : no +fpu : yes +fpu_exception : yes +cpuid level : 2 +wp : yes +flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid +bogomips : 3589.88 +clflush size : 64 +cache_alignment : 128 +address sizes : 36 bits physical, 32 bits virtual +power management: diff --git a/a/content_digest b/N1/content_digest index 18eaace..82bc944 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -171,6 +171,99 @@ "git bisect bad e69e9d4aee712a22665f008ae0550bb3d7c7f7c1\n" "# first bad commit: [e69e9d4aee712a22665f008ae0550bb3d7c7f7c1] vmalloc: introduce remap_vmalloc_range_partial\n" "\n" - # PATCH INFO + "# PATCH INFO\n" + "\n" + ">From e69e9d4aee712a22665f008ae0550bb3d7c7f7c1 Mon Sep 17 00:00:00 2001\n" + "From: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>\n" + "Date: Wed, 3 Jul 2013 15:02:18 -0700\n" + "Subject: [PATCH] vmalloc: introduce remap_vmalloc_range_partial\n" + "\n" + "We want to allocate ELF note segment buffer on the 2nd kernel in vmalloc\n" + "space and remap it to user-space in order to reduce the risk that memory\n" + "allocation fails on system with huge number of CPUs and so with huge ELF\n" + "note segment that exceeds 11-order block size.\n" + "\n" + "Although there's already remap_vmalloc_range for the purpose of\n" + "remapping vmalloc memory to user-space, we need to specify user-space\n" + "range via vma.\n" + " Mmap on /proc/vmcore needs to remap range across multiple objects, so\n" + "the interface that requires vma to cover full range is problematic.\n" + "\n" + "This patch introduces remap_vmalloc_range_partial that receives user-space\n" + "range as a pair of base address and size and can be used for mmap on\n" + "/proc/vmcore case.\n" + "\n" + "remap_vmalloc_range is rewritten using remap_vmalloc_range_partial.\n" + "\n" + "[akpm@linux-foundation.org: use PAGE_ALIGNED()]\n" + "Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>\n" + "Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>\n" + "Cc: Vivek Goyal <vgoyal@redhat.com>\n" + "Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>\n" + "Cc: Lisa Mitchell <lisa.mitchell@hp.com>\n" + "Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>\n" + "Signed-off-by: Andrew Morton <akpm@linux-foundation.org>\n" + "Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>\n" + "---\n" + "\n" + "# VERSION INFO (`ver_linux` from LTP, after passing xfstests xfs/167):\n" + "\n" + "NAME=Slackware\n" + "VERSION=\"14.0\"\n" + "ID=slackware\n" + "VERSION_ID=14.0\n" + "PRETTY_NAME=\"Slackware 14.0\"\n" + "ANSI_COLOR=\"0;34\"\n" + "CPE_NAME=\"cpe:/o:slackware:slackware_linux:14.0\"\n" + "HOME_URL=\"http://slackware.com/\"\n" + "SUPPORT_URL=\"http://www.linuxquestions.org/questions/slackware-14/\"\n" + "BUG_REPORT_URL=\"http://www.linuxquestions.org/questions/slackware-14/\"\n" + "Linux plbearer 3.10.0+ #13 Tue Jul 9 10:56:45 EDT 2013 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz GenuineIntel GNU/Linux\n" + " \n" + "Gnu C gcc (GCC) 4.8.1\n" + "Gnu make 3.82\n" + "util-linux linux 2.21.2\n" + "mount linux 2.21.2 (with libblkid support)\n" + "modutils 12\n" + "e2fsprogs 1.42.8\n" + "PPP 2.4.5\n" + "Linux C Library > libc.2.17\n" + "Dynamic linker (ldd) 2.17\n" + "Linux C++ Library 6.0.18\n" + "Procps 3.2.8\n" + "Net-tools 1.60\n" + "iproute2 iproute2-ss130221\n" + "Kbd 1.15.3\n" + "Sh-utils 8.21\n" + "\n" + "free reports:\n" + " total used free shared buffers cached\n" + "Mem: 764548 755164 9384 0 736 646508\n" + "-/+ buffers/cache: 107920 656628\n" + "Swap: 616444 0 616444\n" + "\n" + "/proc/cpuinfo\n" + "processor\t: 0\n" + "vendor_id\t: GenuineIntel\n" + "cpu family\t: 15\n" + "model\t\t: 2\n" + "model name\t: Intel(R) Pentium(R) 4 CPU 1.80GHz\n" + "stepping\t: 7\n" + "microcode\t: 0x24\n" + "cpu MHz\t\t: 1794.187\n" + "cache size\t: 512 KB\n" + "fdiv_bug\t: no\n" + "f00f_bug\t: no\n" + "coma_bug\t: no\n" + "fpu\t\t: yes\n" + "fpu_exception\t: yes\n" + "cpuid level\t: 2\n" + "wp\t\t: yes\n" + "flags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid\n" + "bogomips\t: 3589.88\n" + "clflush size\t: 64\n" + "cache_alignment\t: 128\n" + "address sizes\t: 36 bits physical, 32 bits virtual\n" + power management: -5a9ee3271b912c97ed1fd3c71481c6362e6ca32ddfca7322775234c89badbaf6 +fde39f825dca0b59c5f3569e235b5d6b104d831e1f47d098763d791bc32b2e42
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.