firmware: Use kvmalloc for page tables
authorTakashi Iwai <tiwai@suse.de>
Mon, 20 May 2019 09:26:45 +0000 (11:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Jun 2019 17:20:37 +0000 (19:20 +0200)
commit993f5d11a9631face2bb597826b86f476a9b915b
tree2f775376f5e409dc8e41e368ecdce8fdfdb20fb1
parent8f58570b98c090a4544ef9eaea1f419706672845
firmware: Use kvmalloc for page tables

This is a minor optimization to use kvmalloc() variant for allocating
the page table for the SG-buffer.  They aren't so big in general, so
kmalloc() would fit often better.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_loader/fallback.c
drivers/base/firmware_loader/main.c