Re: [PATCH 1/4][PoC][RFC] sched: Allow to get() and put() signal struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux