Christoph Hellwig b723caece3 xen/xenbus: use apply_to_page_range directly in xenbus_map_ring_pv
Replacing alloc_vm_area with get_vm_area_caller + apply_page_range allows
to fill put the phys_addr values directly instead of doing another loop
over all addresses.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Uladzislau Rezki (Sony) <urezki@gmail.com>
Link: https://lkml.kernel.org/r/20201002122204.1534411-10-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-18 09:27:10 -07:00
..
2020-10-16 15:02:21 -07:00
2020-10-15 10:01:51 -07:00
2020-10-15 10:46:16 -07:00
2020-10-14 10:32:10 -07:00
2020-10-16 12:21:15 -07:00
2020-10-16 12:21:15 -07:00
2020-10-15 14:43:29 -07:00
2020-10-12 13:26:49 -07:00
2020-10-16 12:40:55 -07:00
2020-10-14 15:56:58 -07:00
2020-10-14 16:09:32 -07:00
2020-10-13 12:12:44 -07:00
2020-10-15 11:07:44 -07:00
2020-10-17 11:18:18 -07:00
2020-10-14 10:32:10 -07:00
2020-10-15 14:43:29 -07:00
2020-10-14 15:56:58 -07:00
2020-10-16 12:21:15 -07:00
2020-10-15 14:43:29 -07:00
2020-10-14 12:08:34 -07:00
2020-09-28 12:17:36 +02:00
2020-10-14 15:15:35 -07:00
2020-10-14 15:56:58 -07:00
2020-10-16 12:21:15 -07:00
2020-10-13 12:12:44 -07:00
2020-10-17 10:45:42 -07:00
2020-10-17 11:18:18 -07:00
2020-10-13 13:04:41 -07:00
2020-10-15 14:43:29 -07:00
2020-10-15 10:46:16 -07:00
2020-10-14 10:43:24 -07:00
2020-10-15 10:46:16 -07:00
2020-10-15 14:43:29 -07:00
2020-10-16 12:21:15 -07:00
2020-10-14 10:45:41 -07:00
2020-10-01 22:59:55 +02:00
2020-10-15 11:07:44 -07:00
2020-10-15 14:43:29 -07:00
2020-10-16 12:40:55 -07:00
2020-10-15 14:43:29 -07:00
2020-10-15 14:43:29 -07:00
2020-10-14 15:56:58 -07:00