lkml.org 
[lkml]   [2017]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/4][PoC][RFC] sched: Allow to get() and put() signal struct
From
Date


On 10/19/2017 09:34 AM, Greg KH wrote:
> On Wed, Oct 18, 2017 at 10:32:27PM +0200, Krzysztof Opasiak wrote:
>> Allow to get() and put() signal struct from different
>> parts of kernel core, not only from signal.c.
>
> That says what this does, but not _why_. Who would ever want to have
> access to these internal-only functions?
>

Those functions are exposed because I added rlimit-events context to the
signal_struct and because I'm accessing signal struct of subject
(process that's being monitored) from context of monitor I need to
ensure that this structure won't go away until I release all watchers
that were associated with that process.

Best regards,
--
Krzysztof Opasiak
Samsung R&D Institute Poland
Samsung Electronics

\
 
 \ /
  Last update: 2017-10-22 17:29    [W:0.066 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site