drivers-virtio_mem-use-pageblock-size-as-the-minimum-virtio_mem-size.patch removed from -mm tree
The quilt patch titled
Subject: drivers: virtio_mem: use pageblock size as the minimum virtio_mem size.
has been removed from the -mm tree. Its filename was
drivers-virtio_mem-use-pageblock-size-as-the-minimum-virtio_mem-size.patch
This patch was dropped because it was merged into the mm-stable branch\nof git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Zi Yan <[email protected]>
Subject: drivers: virtio_mem: use pageblock size as the minimum virtio_mem size.
alloc_contig_range() now only needs to be aligned to pageblock_nr_pages, drop virtio_mem size requirement that it needs to be MAX_ORDER_NR_PAGES.
Signed-off-by Zi Yan <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc Eric Ren <[email protected]>
Cc kernel test robot <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc Minchan Kim <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc Vlastimil Babka <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/virtio/virtio_mem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/virtio/virtio_mem.c renamed from drivers/virtio/virtio_mem.c~drivers-virtio_mem-use-pageblock-size-as-the-minimum-virtio_mem-size +3 -3
@@ -2476,10 +2476,10 @@ static int virtio_mem_init_hotplug(struc VIRTIO_MEM_DEFAULT_OFFLINE_THRESHOLD);/* -* TODO: once alloc_contig_range() works reliably with pageblock -* granularity on ZONE_NORMAL, use pageblock_nr_pages instead. +* alloc_contig_range() works reliably with pageblock +* granularity on ZONE_NORMAL, use pageblock_nr_pages. */ - sb_size =PAGE_SIZE *MAX_ORDER_NR_PAGES ; + sb_size =PAGE_SIZE * pageblock_nr_pages; sb_size =max_t (uint64_t, vm->device_block_size, sb_size);if (sb_size <memory_block_size_bytes () && !force_bbm) {
_
Patches currently in -mm which might be from [email protected] are