diff for duplicates of <20120705104520.GA6773@latitude> diff --git a/a/1.txt b/N1/1.txt index 3f3acf1..974626a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -92,9 +92,3 @@ index 4403009..4a4f921 100644 /* [start, end) must belong to a single zone. */ -- 1.7.9.5 - --- -To unsubscribe, send a message with 'unsubscribe linux-mm' in -the body to majordomo@kvack.org. For more info on Linux MM, -see: http://www.linux-mm.org/ . -Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N1/content_digest index 46827d9..0b4f133 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,17 +3,10 @@ "ref\04FAD89DC.2090307@codeaurora.org\0" "ref\0CAH+eYFBhO9P7V7Nf+yi+vFPveBks7SFKRHfkz3JOQMBKqnkkUQ@mail.gmail.com\0" "ref\0015f01cd5a95$c1525dc0$43f71940$%szyprowski@samsung.com\0" - "From\0Rabin Vincent <rabin@rab.in>\0" - "Subject\0Re: Bad use of highmem with buffer_migrate_page?\0" + "From\0rabin@rab.in (Rabin Vincent)\0" + "Subject\0Bad use of highmem with buffer_migrate_page?\0" "Date\0Thu, 5 Jul 2012 16:15:20 +0530\0" - "To\0Marek Szyprowski <m.szyprowski@samsung.com>\0" - "Cc\0'Michal Nazarewicz' <mina86@mina86.com>" - 'Laura Abbott' <lauraa@codeaurora.org> - linaro-mm-sig@lists.linaro.org - linux-arm-msm@vger.kernel.org - linux-arm-kernel@lists.infradead.org - linux-mm@kvack.org - " 'LKML' <linux-kernel@vger.kernel.org>\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On Thu, Jul 05, 2012 at 12:05:45PM +0200, Marek Szyprowski wrote:\n" @@ -109,12 +102,6 @@ " \n" " /* [start, end) must belong to a single zone. */\n" "-- \n" - "1.7.9.5\n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + 1.7.9.5 -3b6dfa86b553368db1d06fbc4eee87e104dfcbe71f181f91d9f9cdbca1b99984 +89a14f0d52ae16580c402e7b28010f5ee39a7618e8f53fea4e687070138a20eb
diff --git a/a/1.txt b/N2/1.txt index 3f3acf1..973e818 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -35,66 +35,3 @@ On Thu, Jul 05, 2012 at 12:05:45PM +0200, Marek Szyprowski wrote: Thanks, here it is: 8<---- ->From 8a94126eb3aa2824866405fb78bb0b8316f8fd00 Mon Sep 17 00:00:00 2001 -From: Rabin Vincent <rabin@rab.in> -Date: Thu, 5 Jul 2012 15:52:23 +0530 -Subject: [PATCH] mm: cma: don't replace lowmem pages with highmem - -The filesystem layer expects pages in the block device's mapping to not -be in highmem (the mapping's gfp mask is set in bdget()), but CMA can -currently replace lowmem pages with highmem pages, leading to crashes in -filesystem code such as the one below: - - Unable to handle kernel NULL pointer dereference at virtual address 00000400 - pgd = c0c98000 - [00000400] *pgd=00c91831, *pte=00000000, *ppte=00000000 - Internal error: Oops: 817 [#1] PREEMPT SMP ARM - CPU: 0 Not tainted (3.5.0-rc5+ #80) - PC is at __memzero+0x24/0x80 - ... - Process fsstress (pid: 323, stack limit = 0xc0cbc2f0) - Backtrace: - [<c010e3f0>] (ext4_getblk+0x0/0x180) from [<c010e58c>] (ext4_bread+0x1c/0x98) - [<c010e570>] (ext4_bread+0x0/0x98) from [<c0117944>] (ext4_mkdir+0x160/0x3bc) - r4:c15337f0 - [<c01177e4>] (ext4_mkdir+0x0/0x3bc) from [<c00c29e0>] (vfs_mkdir+0x8c/0x98) - [<c00c2954>] (vfs_mkdir+0x0/0x98) from [<c00c2a60>] (sys_mkdirat+0x74/0xac) - r6:00000000 r5:c152eb40 r4:000001ff r3:c14b43f0 - [<c00c29ec>] (sys_mkdirat+0x0/0xac) from [<c00c2ab8>] (sys_mkdir+0x20/0x24) - r6:beccdcf0 r5:00074000 r4:beccdbbc - [<c00c2a98>] (sys_mkdir+0x0/0x24) from [<c000e3c0>] (ret_fast_syscall+0x0/0x30) - -Fix this by replacing only highmem pages with highmem. - -Reported-by: Laura Abbott <lauraa@codeaurora.org> -Signed-off-by: Rabin Vincent <rabin@rab.in> ---- - mm/page_alloc.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/mm/page_alloc.c b/mm/page_alloc.c -index 4403009..4a4f921 100644 ---- a/mm/page_alloc.c -+++ b/mm/page_alloc.c -@@ -5635,7 +5635,12 @@ static struct page * - __alloc_contig_migrate_alloc(struct page *page, unsigned long private, - int **resultp) - { -- return alloc_page(GFP_HIGHUSER_MOVABLE); -+ gfp_t gfp_mask = GFP_USER | __GFP_MOVABLE; -+ -+ if (PageHighMem(page)) -+ gfp_mask |= __GFP_HIGHMEM; -+ -+ return alloc_page(gfp_mask); - } - - /* [start, end) must belong to a single zone. */ --- -1.7.9.5 - --- -To unsubscribe, send a message with 'unsubscribe linux-mm' in -the body to majordomo@kvack.org. For more info on Linux MM, -see: http://www.linux-mm.org/ . -Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N2/content_digest index 46827d9..e1b811a 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -52,69 +52,6 @@ "\n" "Thanks, here it is:\n" "\n" - "8<----\n" - ">From 8a94126eb3aa2824866405fb78bb0b8316f8fd00 Mon Sep 17 00:00:00 2001\n" - "From: Rabin Vincent <rabin@rab.in>\n" - "Date: Thu, 5 Jul 2012 15:52:23 +0530\n" - "Subject: [PATCH] mm: cma: don't replace lowmem pages with highmem\n" - "\n" - "The filesystem layer expects pages in the block device's mapping to not\n" - "be in highmem (the mapping's gfp mask is set in bdget()), but CMA can\n" - "currently replace lowmem pages with highmem pages, leading to crashes in\n" - "filesystem code such as the one below:\n" - "\n" - " Unable to handle kernel NULL pointer dereference at virtual address 00000400\n" - " pgd = c0c98000\n" - " [00000400] *pgd=00c91831, *pte=00000000, *ppte=00000000\n" - " Internal error: Oops: 817 [#1] PREEMPT SMP ARM\n" - " CPU: 0 Not tainted (3.5.0-rc5+ #80)\n" - " PC is at __memzero+0x24/0x80\n" - " ...\n" - " Process fsstress (pid: 323, stack limit = 0xc0cbc2f0)\n" - " Backtrace:\n" - " [<c010e3f0>] (ext4_getblk+0x0/0x180) from [<c010e58c>] (ext4_bread+0x1c/0x98)\n" - " [<c010e570>] (ext4_bread+0x0/0x98) from [<c0117944>] (ext4_mkdir+0x160/0x3bc)\n" - " r4:c15337f0\n" - " [<c01177e4>] (ext4_mkdir+0x0/0x3bc) from [<c00c29e0>] (vfs_mkdir+0x8c/0x98)\n" - " [<c00c2954>] (vfs_mkdir+0x0/0x98) from [<c00c2a60>] (sys_mkdirat+0x74/0xac)\n" - " r6:00000000 r5:c152eb40 r4:000001ff r3:c14b43f0\n" - " [<c00c29ec>] (sys_mkdirat+0x0/0xac) from [<c00c2ab8>] (sys_mkdir+0x20/0x24)\n" - " r6:beccdcf0 r5:00074000 r4:beccdbbc\n" - " [<c00c2a98>] (sys_mkdir+0x0/0x24) from [<c000e3c0>] (ret_fast_syscall+0x0/0x30)\n" - "\n" - "Fix this by replacing only highmem pages with highmem.\n" - "\n" - "Reported-by: Laura Abbott <lauraa@codeaurora.org>\n" - "Signed-off-by: Rabin Vincent <rabin@rab.in>\n" - "---\n" - " mm/page_alloc.c | 7 ++++++-\n" - " 1 file changed, 6 insertions(+), 1 deletion(-)\n" - "\n" - "diff --git a/mm/page_alloc.c b/mm/page_alloc.c\n" - "index 4403009..4a4f921 100644\n" - "--- a/mm/page_alloc.c\n" - "+++ b/mm/page_alloc.c\n" - "@@ -5635,7 +5635,12 @@ static struct page *\n" - " __alloc_contig_migrate_alloc(struct page *page, unsigned long private,\n" - " \t\t\t int **resultp)\n" - " {\n" - "-\treturn alloc_page(GFP_HIGHUSER_MOVABLE);\n" - "+\tgfp_t gfp_mask = GFP_USER | __GFP_MOVABLE;\n" - "+\n" - "+\tif (PageHighMem(page))\n" - "+\t\tgfp_mask |= __GFP_HIGHMEM;\n" - "+\n" - "+\treturn alloc_page(gfp_mask);\n" - " }\n" - " \n" - " /* [start, end) must belong to a single zone. */\n" - "-- \n" - "1.7.9.5\n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + 8<---- -3b6dfa86b553368db1d06fbc4eee87e104dfcbe71f181f91d9f9cdbca1b99984 +d96976d7297d08c2c0e514f66aa3f01e92a7a3d10dc4af3d59b98b5fd26b3fff
diff --git a/a/1.txt b/N3/1.txt index 3f3acf1..974626a 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -92,9 +92,3 @@ index 4403009..4a4f921 100644 /* [start, end) must belong to a single zone. */ -- 1.7.9.5 - --- -To unsubscribe, send a message with 'unsubscribe linux-mm' in -the body to majordomo@kvack.org. For more info on Linux MM, -see: http://www.linux-mm.org/ . -Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a> diff --git a/a/content_digest b/N3/content_digest index 46827d9..4b33094 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -109,12 +109,6 @@ " \n" " /* [start, end) must belong to a single zone. */\n" "-- \n" - "1.7.9.5\n" - "\n" - "--\n" - "To unsubscribe, send a message with 'unsubscribe linux-mm' in\n" - "the body to majordomo@kvack.org. For more info on Linux MM,\n" - "see: http://www.linux-mm.org/ .\n" - "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" + 1.7.9.5 -3b6dfa86b553368db1d06fbc4eee87e104dfcbe71f181f91d9f9cdbca1b99984 +c07b5dc35a6ce0f90d7ab584ce67e4dfaac31c514710200994fabfa79ad80302
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.