Commit fad1180a authored by Minchan Kim's avatar Minchan Kim Committed by Sidath Senanayake
Browse files

Revert "mali_kbase: fix longtime page pinning for CMA area"

This reverts commit 1cea26d5.

Camera CTS test failed since cma allocation failure failed and
it showed following debug message.

page    : 000000000105067f refcount:-1021 mapcount:1
anon flags: 0x800000000008000e(referenced|uptodate|dirty|swapbacked)

The refcount -1021 is weird and under review, I found it could
happen if a driver calls unpin_user_page on the page not pinned
by pin_user_pages before. Recently, there was a CL which changed
the put_page with unpin_user_page. Reporter tested the change
the unpin_user_page with put_page in the CL made the CTS test
passed. Thus, let's revert the buggy CL first.

Bug: 185909940
Change-Id: I46cd24d6f907a65d4650e597bd9160cb5331fe27
parent 040a7eb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment