diff for duplicates of <20161013002020.3062-4-lstoakes@gmail.com> diff --git a/a/1.txt b/N1/1.txt index a768ee8..a0ab13c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -115,7 +115,7 @@ index b094054..f7299d3 100644 - y_dma.page_count, 0, 1, &dma->map[0]); + y_dma.page_count, &dma->map[0], FOLL_FORCE); uv_pages = 0; /* silence gcc. value is set and consumed only if: */ - if (y_pages == y_dma.page_count) { + if (y_pages = y_dma.page_count) { uv_pages = get_user_pages_unlocked(uv_dma.uaddr, - uv_dma.page_count, 0, 1, &dma->map[y_pages]); + uv_dma.page_count, &dma->map[y_pages], @@ -131,11 +131,11 @@ index 7af5226..618422e 100644 res = get_user_pages_unlocked( uaddr, nr_pages, -- rw == READ, +- rw = READ, - 0, /* don't force */ - pages); + pages, -+ rw == READ ? FOLL_WRITE : 0); /* don't force */ ++ rw = READ ? FOLL_WRITE : 0); /* don't force */ /* Errors and no page mapped should return here */ if (res < nr_pages) @@ -251,12 +251,6 @@ index 00d2601..1a7c9a7 100644 + num_pages - got, pages + got, write_page ? FOLL_WRITE : 0); if (rc < 0) break; - BUG_ON(rc == 0); + BUG_ON(rc = 0); -- 2.10.0 - --- -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 35dabf7..f4ce36d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020161013002020.3062-1-lstoakes@gmail.com\0" "From\0Lorenzo Stoakes <lstoakes@gmail.com>\0" "Subject\0[PATCH 03/10] mm: replace get_user_pages_unlocked() write/force parameters with gup_flags\0" - "Date\0Thu, 13 Oct 2016 01:20:13 +0100\0" + "Date\0Thu, 13 Oct 2016 00:20:13 +0000\0" "To\0linux-mm@kvack.org\0" "Cc\0Linus Torvalds <torvalds@linux-foundation.org>" Jan Kara <jack@suse.cz> @@ -149,7 +149,7 @@ "-\t\t\ty_dma.page_count, 0, 1, &dma->map[0]);\n" "+\t\t\ty_dma.page_count, &dma->map[0], FOLL_FORCE);\n" " \tuv_pages = 0; /* silence gcc. value is set and consumed only if: */\n" - " \tif (y_pages == y_dma.page_count) {\n" + " \tif (y_pages = y_dma.page_count) {\n" " \t\tuv_pages = get_user_pages_unlocked(uv_dma.uaddr,\n" "-\t\t\t\tuv_dma.page_count, 0, 1, &dma->map[y_pages]);\n" "+\t\t\t\tuv_dma.page_count, &dma->map[y_pages],\n" @@ -165,11 +165,11 @@ " \tres = get_user_pages_unlocked(\n" " \t\tuaddr,\n" " \t\tnr_pages,\n" - "-\t\trw == READ,\n" + "-\t\trw = READ,\n" "-\t\t0, /* don't force */\n" "-\t\tpages);\n" "+\t\tpages,\n" - "+\t\trw == READ ? FOLL_WRITE : 0); /* don't force */\n" + "+\t\trw = READ ? FOLL_WRITE : 0); /* don't force */\n" " \n" " \t/* Errors and no page mapped should return here */\n" " \tif (res < nr_pages)\n" @@ -285,14 +285,8 @@ "+\t\t num_pages - got, pages + got, write_page ? FOLL_WRITE : 0);\n" " \t\tif (rc < 0)\n" " \t\t\tbreak;\n" - " \t\tBUG_ON(rc == 0);\n" + " \t\tBUG_ON(rc = 0);\n" "-- \n" - "2.10.0\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>" + 2.10.0 -f48dab06cacedfa574925a7d85cd22b4c4e136b3326bae66eaeeebaea7c33302 +1a31d61a6c70b20911ec9a00d8e54cd941697706eee158523a7292b60e83e525
diff --git a/a/1.txt b/N2/1.txt index a768ee8..20bec92 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -254,9 +254,3 @@ index 00d2601..1a7c9a7 100644 BUG_ON(rc == 0); -- 2.10.0 - --- -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 35dabf7..f745ca6 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -29,7 +29,12 @@ linux-samsung-soc@vger.kernel.org linux-scsi@vger.kernel.org linux-security-module@vger.kernel.org - " linux-sh@vger.kerne\0" + linux-sh@vger.kernel.org + linuxppc-dev@lists.ozlabs.org + netdev@vger.kernel.org + sparclinux@vger.kernel.org + x86@kernel.org + " Lorenzo Stoakes <lstoakes@gmail.com>\0" "\00:1\0" "b\0" "This patch removes the write and force parameters from get_user_pages_unlocked()\n" @@ -287,12 +292,6 @@ " \t\t\tbreak;\n" " \t\tBUG_ON(rc == 0);\n" "-- \n" - "2.10.0\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>" + 2.10.0 -f48dab06cacedfa574925a7d85cd22b4c4e136b3326bae66eaeeebaea7c33302 +48a9e4916a500240d0c930df0fa09f7629b012eca5d1d1142db43d47fbb2544c
diff --git a/a/1.txt b/N3/1.txt index a768ee8..20bec92 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -254,9 +254,3 @@ index 00d2601..1a7c9a7 100644 BUG_ON(rc == 0); -- 2.10.0 - --- -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 35dabf7..25e137f 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -1,35 +1,8 @@ "ref\020161013002020.3062-1-lstoakes@gmail.com\0" - "From\0Lorenzo Stoakes <lstoakes@gmail.com>\0" + "From\0lstoakes@gmail.com (Lorenzo Stoakes)\0" "Subject\0[PATCH 03/10] mm: replace get_user_pages_unlocked() write/force parameters with gup_flags\0" "Date\0Thu, 13 Oct 2016 01:20:13 +0100\0" - "To\0linux-mm@kvack.org\0" - "Cc\0Linus Torvalds <torvalds@linux-foundation.org>" - Jan Kara <jack@suse.cz> - Hugh Dickins <hughd@google.com> - Dave Hansen <dave.hansen@linux.intel.com> - Rik van Riel <riel@redhat.com> - Mel Gorman <mgorman@techsingularity.net> - Andrew Morton <akpm@linux-foundation.org> - adi-buildroot-devel@lists.sourceforge.net - ceph-devel@vger.kernel.org - dri-devel@lists.freedesktop.org - intel-gfx@lists.freedesktop.org - kvm@vger.kernel.org - linux-alpha@vger.kernel.org - linux-arm-kernel@lists.infradead.org - linux-cris-kernel@axis.com - linux-fbdev@vger.kernel.org - linux-fsdevel@vger.kernel.org - linux-ia64@vger.kernel.org - linux-kernel@vger.kernel.org - linux-media@vger.kernel.org - linux-mips@linux-mips.org - linux-rdma@vger.kernel.org - linux-s390@vger.kernel.org - linux-samsung-soc@vger.kernel.org - linux-scsi@vger.kernel.org - linux-security-module@vger.kernel.org - " linux-sh@vger.kerne\0" + "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "This patch removes the write and force parameters from get_user_pages_unlocked()\n" @@ -287,12 +260,6 @@ " \t\t\tbreak;\n" " \t\tBUG_ON(rc == 0);\n" "-- \n" - "2.10.0\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>" + 2.10.0 -f48dab06cacedfa574925a7d85cd22b4c4e136b3326bae66eaeeebaea7c33302 +6741349d4227e3ef184ffe071a10200dbaf37d9cae6917901987ac2a35a06ffa
diff --git a/a/content_digest b/N4/content_digest index 35dabf7..17974ff 100644 --- a/a/content_digest +++ b/N4/content_digest @@ -29,7 +29,12 @@ linux-samsung-soc@vger.kernel.org linux-scsi@vger.kernel.org linux-security-module@vger.kernel.org - " linux-sh@vger.kerne\0" + linux-sh@vger.kernel.org + linuxppc-dev@lists.ozlabs.org + netdev@vger.kernel.org + sparclinux@vger.kernel.org + x86@kernel.org + " Lorenzo Stoakes <lstoakes@gmail.com>\0" "\00:1\0" "b\0" "This patch removes the write and force parameters from get_user_pages_unlocked()\n" @@ -295,4 +300,4 @@ "see: http://www.linux-mm.org/ .\n" "Don't email: <a href=mailto:\"dont@kvack.org\"> email@kvack.org </a>" -f48dab06cacedfa574925a7d85cd22b4c4e136b3326bae66eaeeebaea7c33302 +61e65e1c76ae5d4beceb1bc1a141c52354ff45e73e372afd409e7b2673a9b176
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.