Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 19:47:22 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Adrian Chadd <adrian@FreeBSD.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, Jung-uk Kim <jkim@FreeBSD.org>, "freebsd-arch@freebsd.org" <freebsd-arch@FreeBSD.org>
Subject:   Re: suspending threads before devices
Message-ID:  <546791AA.5060204@FreeBSD.org>
In-Reply-To: <CAJ-Vmo=JbMRH0J4jy03sKxeMV-FP7GoE5R--92241rzeMTMo-g@mail.gmail.com>
References:  <201203202037.q2KKbNfK037014@svn.freebsd.org>	<201203211502.14353.jkim@FreeBSD.org>	<4F6AF1CB.80902@FreeBSD.org>	<201203220748.49635.jhb@freebsd.org>	<20120322141436.GC2358@deviant.kiev.zoral.com.ua>	<54666FD5.6080705@FreeBSD.org>	<20141115105819.GJ17068@kib.kiev.ua>	<54676BA6.7000202@FreeBSD.org> <CAJ-Vmo=JbMRH0J4jy03sKxeMV-FP7GoE5R--92241rzeMTMo-g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15/11/2014 18:41, Adrian Chadd wrote:
> [snip]
> 
> Hm, would just creating a suspend kernel thread make it easier?
> 
> Ie, instead of you doing the suspend in the context of the calling
> process, just have it signal to a kernel thread, so the userland
> thread doing the suspend can also be suspended?

I do not see any significant difference between the two approaches.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?546791AA.5060204>