diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-05-20 12:26:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-10 20:20:36 +0300 |
commit | ddaf29fd9bb6a8192153bc097615765d202b0ab3 (patch) | |
tree | 645a403be079231588e7b34bbd4edf8298df2020 /drivers/base/firmware_loader/firmware.h | |
parent | 64ae0e71c60dc4bd3a59ae709b807f96f68df495 (diff) | |
download | linux-ddaf29fd9bb6a8192153bc097615765d202b0ab3.tar.xz |
firmware: Free temporary page table after vmapping
Once after performing vmap() to map the S/G pages, our own page table
becomes superfluous since the pages can be released via vfree()
automatically. Let's change the buffer release code and discard the
page table array for saving some memory.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/firmware_loader/firmware.h')
0 files changed, 0 insertions, 0 deletions