mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 05:29:04 -04:00
coda: block signals during upcall processing
We ignore signals for about 30 seconds to give userspace a chance to see the upcall. As we did not block signals we ended up in a busy loop for the remainder of the period when a signal is received. Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fe71b5f387
commit
d9664c95af
2 changed files with 60 additions and 22 deletions
|
|
@ -85,7 +85,6 @@ struct upc_req {
|
|||
u_short uc_opcode; /* copied from data to save lookup */
|
||||
int uc_unique;
|
||||
wait_queue_head_t uc_sleep; /* process' wait queue */
|
||||
unsigned long uc_posttime;
|
||||
};
|
||||
|
||||
#define REQ_ASYNC 0x1
|
||||
|
|
|
|||
Loading…
Reference in a new issue