Files
kernel_xiaomi_sm8250/include/linux
Oleg Nesterov 8053bdd5ce ptrace_get_task_struct: s/tasklist/rcu/, make it static
- Use rcu_read_lock() instead of tasklist_lock to find/get the task
  in ptrace_get_task_struct().

- Make it static, it has no callers outside of ptrace.c.

- The comment doesn't match the reality, this helper does not do
  any checks. Beacuse it is really trivial and static I removed the
  whole comment.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-18 13:03:51 -07:00
..
2009-06-18 13:03:44 -07:00
2009-06-17 19:41:52 +02:00
2009-06-11 21:36:00 -04:00
2009-06-17 00:36:36 -04:00
2009-06-15 16:47:21 +10:00
2009-06-11 21:36:09 -04:00
2009-06-11 08:50:57 -07:00
2009-06-11 21:36:06 -04:00
2009-06-15 21:30:25 -07:00
2009-06-17 09:33:49 -07:00
2009-06-15 21:30:25 -07:00
2009-06-16 19:50:13 -07:00
2009-06-16 19:50:13 -07:00
2009-06-16 19:47:28 -07:00
2009-06-16 19:47:57 -07:00
2009-06-15 15:49:23 +02:00
2009-06-11 17:03:28 +01:00
2009-06-10 11:48:39 +03:00
2009-06-16 19:47:57 -07:00
2009-06-16 19:47:48 -07:00
2009-06-16 08:40:20 +02:00
2009-06-11 19:05:32 +02:00
2009-06-16 19:50:13 -07:00
2009-06-11 21:36:02 -04:00
2009-06-11 21:36:01 -04:00
2009-06-15 21:44:43 -07:00
2009-06-15 21:44:44 -07:00
2009-06-11 21:36:12 -04:00
2009-06-11 08:50:58 -07:00
2009-06-15 15:50:49 +02:00
2009-06-16 19:47:48 -07:00
2009-06-18 13:03:47 -07:00
2009-06-11 08:50:59 -07:00
2009-06-11 08:51:01 -07:00