]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb-xen: suppress certain init retries
authorJan Beulich <jbeulich@suse.com>
Tue, 7 Sep 2021 12:05:54 +0000 (14:05 +0200)
committerJuergen Gross <jgross@suse.com>
Wed, 15 Sep 2021 06:42:04 +0000 (08:42 +0200)
commitf975253af0c330f6ce719eeba1e48ed1ca93c80b
treea676b63eaa5644780c15ec284f5a5a3a869bb468
parentee39f214f6b87375b21b2d93222020ed24b121d0
swiotlb-xen: suppress certain init retries

Only on the 2nd of the paths leading to xen_swiotlb_init()'s "error"
label it is useful to retry the allocation; the first one did already
iterate through all possible order values.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/56477481-87da-4962-9661-5e1b277efde0@suse.com
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/swiotlb-xen.c