OSDN Git Service

staging: android: sync: Limit sync log dumping
authorDeepak Kumar <dkumar@codeaurora.org>
Thu, 20 Apr 2017 13:00:19 +0000 (18:30 +0530)
committerDeepak Kumar <dkumar@codeaurora.org>
Fri, 21 Apr 2017 05:25:52 +0000 (10:55 +0530)
commit5ef49cfc5b0eb987598bf615d85da7e48d498934
tree36f09189ee62cb2389f584d0353eed9c855db015
parent6ee87610acf2927de5365f456ca0e6529f5c0d1a
staging: android: sync: Limit sync log dumping

Dump sync logs only when a fence is not signalled
for SYNC_DUMP_TIME_LIMIT or more. This is necessary
to reduce CPU hogging because of excessive sync logs
dumped due to fence timeouts which are less than
SYNC_DUMP_TIME_LIMIT and are harmless.

Change-Id: Id21a02925dd45a01361d096048a25d1879ebde9e
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
drivers/staging/android/sync.c