The field "page" is initialized to KVM_UNMAPPED_PAGE when it is not used
(i.e. when the memory lives outside kernel control). So this check will
always end up using kunmap even for memremap regions.
Fixes:
|
||
---|---|---|
.. | ||
kvm | ||
lib | ||
Makefile |