Repository navigation
Commit bd6b843
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
0 commit comments