projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c46e23
)
Input: remove unnecessary synchronize_rcu() call
author
Arjan van de Ven
<arjan@infradead.org>
Sat, 11 Apr 2009 23:50:15 +0000
(16:50 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sun, 12 Apr 2009 00:09:14 +0000
(17:09 -0700)
There is no need to issue serialize_rcu() after adding a new handle
to the list of handles associated with the device because new events
will "see" the new handle in the list immediately. Remove it so we
can boot a little bit faster.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index 913392f63f767b62763197687fe63ff559a2b60e..a79c83397a9c16f2450fb3fe3641506191d897d8 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-1551,7
+1551,6
@@
int input_register_handle(struct input_handle *handle)
return error;
list_add_tail_rcu(&handle->d_node, &dev->h_list);
mutex_unlock(&dev->mutex);
- synchronize_rcu();
/*
* Since we are supposed to be called from ->connect()