summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorDeepak Kumar <dkumar@codeaurora.org>2017-06-20 16:06:52 +0530
committerDeepak Kumar <dkumar@codeaurora.org>2017-06-21 14:35:26 +0530
commite8adb4c2b80a8455ff9a8a6fe5dbe2ab142d7cef (patch)
tree6a785a7c2727fc5ba6ac2c1bef21d9efb5f0a438 /kernel/locking/mutex-debug.c
parent9725c4d90bee3b0be78bb1fdc084df1ec08d7d24 (diff)
msm: kgsl: Directly return page size of the supported pool
In current code, if a request comes to allocate a page of a size for which pool is not supported EAGAIN is returned with a page size of PAGE_SIZE << --order. This is not efficient as it results in multiple retries in case pool of size = PAGE_SIZE << --order is also not supported. Instead of retrying with lower order page in a sequential manner this change directly returns the page size of the pool that is supported. Change-Id: Ib82ae5be7e4109fdc0a3d72bcbcd4b47cfb2e266 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions