Searched hist:cd81a9170e69e018bbaba547c1fd85a585f5697a (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/proc/ |
H A D | base.c | diff cd81a9170e69e018bbaba547c1fd85a585f5697a Tue Aug 23 09:20:38 CDT 2016 Mateusz Guzik <mguzik@redhat.com> mm: introduce get_task_exe_file
For more convenient access if one has a pointer to the task.
As a minor nit take advantage of the fact that only task lock + rcu are needed to safely grab ->exe_file. This saves mm refcount dance.
Use the helper in proc_exe_link.
Signed-off-by: Mateusz Guzik <mguzik@redhat.com> Acked-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Acked-by: Richard Guy Briggs <rgb@redhat.com> Cc: <stable@vger.kernel.org> # 4.3.x Signed-off-by: Paul Moore <paul@paul-moore.com>
|
/openbmc/linux/kernel/ |
H A D | fork.c | diff cd81a9170e69e018bbaba547c1fd85a585f5697a Tue Aug 23 09:20:38 CDT 2016 Mateusz Guzik <mguzik@redhat.com> mm: introduce get_task_exe_file
For more convenient access if one has a pointer to the task.
As a minor nit take advantage of the fact that only task lock + rcu are needed to safely grab ->exe_file. This saves mm refcount dance.
Use the helper in proc_exe_link.
Signed-off-by: Mateusz Guzik <mguzik@redhat.com> Acked-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Acked-by: Richard Guy Briggs <rgb@redhat.com> Cc: <stable@vger.kernel.org> # 4.3.x Signed-off-by: Paul Moore <paul@paul-moore.com>
|
/openbmc/linux/include/linux/ |
H A D | mm.h | diff cd81a9170e69e018bbaba547c1fd85a585f5697a Tue Aug 23 09:20:38 CDT 2016 Mateusz Guzik <mguzik@redhat.com> mm: introduce get_task_exe_file
For more convenient access if one has a pointer to the task.
As a minor nit take advantage of the fact that only task lock + rcu are needed to safely grab ->exe_file. This saves mm refcount dance.
Use the helper in proc_exe_link.
Signed-off-by: Mateusz Guzik <mguzik@redhat.com> Acked-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Acked-by: Richard Guy Briggs <rgb@redhat.com> Cc: <stable@vger.kernel.org> # 4.3.x Signed-off-by: Paul Moore <paul@paul-moore.com>
|