diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-04-18 15:24:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 13:41:55 +0200 |
commit | f6f9885b0531163f72c7bf898a0ab1ba4c7d5de6 (patch) | |
tree | dd2cc4cab83c58a8943ffa8357a3fbe3e969c7aa /drivers/media/mmc/Kconfig | |
parent | virt: vbox: Move declarations of vboxguest private functions to private header (diff) | |
download | linux-f6f9885b0531163f72c7bf898a0ab1ba4c7d5de6.tar.xz linux-f6f9885b0531163f72c7bf898a0ab1ba4c7d5de6.zip |
virt: vbox: Add vbg_req_free() helper function
This is a preparation patch for fixing issues on x86_64 virtual-machines
with more then 4G of RAM, atm we pass __GFP_DMA32 to kmalloc, but kmalloc
does not honor that, so we need to switch to get_pages, which means we
will not be able to use kfree to free memory allocated with vbg_alloc_req.
While at it also remove a comment on a vbg_alloc_req call which talks
about Windows (inherited from the vbox upstream cross-platform code).
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/mmc/Kconfig')
0 files changed, 0 insertions, 0 deletions