commit | c2eeefe7d48a7809b0e2c1aa7b4c6f78605159b9 | [log] [tgz] |
---|---|---|
author | Evan Chu <evanchu@broadcom.com> | Mon Jun 24 12:48:18 2013 -0400 |
committer | Martijn Coenen <maco@google.com> | Mon Aug 05 08:56:45 2013 -0700 |
tree | 6444c3239fc78393d4c538a3a375a3acb49c98b3 | |
parent | 91ada91fa991b4df5372a19a2cf81f074b298712 [diff] |
Fix deadlock in GKI_getbuf when out of buffer. By Kevin Park. GKI_getbuf is executed in critical section. Sometimes, when GKI getbuf fails due to low memory, code logic in GKI_getbuf just returns NULL without releasing lock. This introduces deadlock situation. So fixed the code to call GKI_enable before returning. Increasing GKI buf pool size for the specific condition like system very busy on first boot. Change-Id: I8c7de8d0f472f5dfa41a43c08c30025de4e073c4