[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <bb167290-4373-25a5-ef8e-5330a7cde425@samsung.com>
Date: Thu, 19 Oct 2017 19:33:12 +0200
From: Krzysztof Opasiak <k.opasiak@...sung.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: viro@...iv.linux.org.uk, arnd@...db.de,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-arch@...r.kernel.org, k.lewandowsk@...sung.com,
l.stelmach@...sung.com, p.szewczyk@...sung.com,
b.zolnierkie@...sung.com, andrzej.p@...sung.com,
kopasiak90@...il.com
Subject: Re: [PATCH 1/4][PoC][RFC] sched: Allow to get() and put() signal
struct
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
Powered by blists - more mailing lists