[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Deferred freeing of kauth_cred_ts
On Dec,Friday 25 2009, at 12:05 AM, Elad Efrat wrote:
> One thing that prevents us from attaching credentials to sockets is an
> issue where these might be freed from interrupt context.
> What I have in mind is being able to tell when we can sleep or not,
> and if not, add the credentials to a queue that an independent thread
> will take care of freeing.
Extracting parts of assert_sleepable doesn't seem to be right for me. I think
that we should put all credentials to queue and leave their free on a thread.
Another question is why socket credentials can be destroyed from interrupt
Main Index |
Thread Index |