You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mm/highmem: Take kmap_high_get() properly into account
kunmap_local() warns when the virtual address to unmap is below
PAGE_OFFSET. This is correct except for the case that the mapping was
obtained via kmap_high_get() because the PKMAP addresses are right below
PAGE_OFFSET.
Cure it by skipping the WARN_ON() when the unmap was handled by
kunmap_high().
Fixes: 298fa1a ("highmem: Provide generic variant of kmap_atomic*")
Reported-by: [email protected]
Reported-by: Marek Szyprowski <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Tested-by: Sebastian Andrzej Siewior <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
0 commit comments