Skip to content

Commit bd6b843

Browse files
wangpodaxia1GUIDINGLI
authored andcommitted
drivers/misc/rpmsgdev: keep request messages on the stack again
A blocking read held two rpmsg pool blocks (the request and its cookie) until data arrived, so a few idle readers could exhaust the pool and block every other pool user. Put the messages and cookies back on the caller's stack and reply straight into the caller's buffer, dropping the CONFIG_RPMSG_POOL_COUNT > 0 branches. Signed-off-by: wangshaoxin <wangshaoxin@xiaomi.com> Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
1 parent 34988f8 commit bd6b843

1 file changed

Lines changed: 45 additions & 156 deletions

File tree

0 commit comments

Comments
 (0)