[Devel] [PATCH rh7] mm: mmap_region: uncharge UB_LOCKEDPAGES if vma cannot be locked
Vladimir Davydov
vdavydov at virtuozzo.com
Thu Nov 26 07:10:16 PST 2015
On Thu, Nov 26, 2015 at 06:08:25PM +0300, Vladimir Davydov wrote:
> mmap_region workflow regarding locked pages was changed during rebase
> from RH6 to RH7. The patch porting locked pages accounting did not allow
> for that.
>
> Presumably, this should fix UB_LOCKEDPAGES leak on CT stop:
>
> Ub 101 helds 8 in lockedpages on put
> UB: leaked beancounter 101 (ffff880404e95000)
> Tainting kernel with flag 0xa
>
> https://jira.sw.ru/browse/PSBM-39435
>
> Signed-off-by: Vladimir Davydov <vdavydov at virtuozzo.com>
Fixes: b6d6ede8c4fc4 ("ve/bc/mm: port UB_PRIVVMPAGES, UB_SHMPAGES, and UB_LOCKEDPAGES accounting")
More information about the Devel
mailing list