[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5474863A.6010307@redhat.com>
Date: Tue, 25 Nov 2014 08:38:02 -0500
From: Rik van Riel <riel@...hat.com>
To: Davidlohr Bueso <dave@...olabs.net>
CC: Khalid Aziz <khalid.aziz@...cle.com>, tglx@...utronix.de,
corbet@....net, mingo@...hat.com, hpa@...or.com,
peterz@...radead.org, akpm@...ux-foundation.org,
rientjes@...gle.com, ak@...ux.intel.com, mgorman@...e.de,
liwanp@...ux.vnet.ibm.com, raistlin@...ux.it,
kirill.shutemov@...ux.intel.com, atomlin@...hat.com,
avagin@...nvz.org, gorcunov@...nvz.org, serge.hallyn@...onical.com,
athorlton@....com, oleg@...hat.com, vdavydov@...allels.com,
daeseok.youn@...il.com, keescook@...omium.org,
yangds.fnst@...fujitsu.com, sbauer@....utah.edu,
vishnu.ps@...sung.com, axboe@...com, paulmck@...ux.vnet.ibm.com,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
linux-api@...r.kernel.org
Subject: Re: [PATCH v3] sched/fair: Add advisory flag for borrowing a timeslice
(was: Pre-emption control for userspace)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/25/2014 01:30 AM, Davidlohr Bueso wrote:
> On Mon, 2014-11-24 at 21:03 -0500, Rik van Riel wrote:
>> I can see this "solution" help mostly with userspace spinlocks,
>> which are relics of a past era that need to die. There is no way
>> userspace spinlocks will not fail miserably on virtual machines,
>> and it is time to get rid of them.
>
> No, not really. Spinlocks are still very useful on bare metal.
> Virtualization is not the only thing out there.
How many people are going to build two different binaries,
one for bare metal, and one for virtualized environments?
I suspect the vast majority of applications will only be
built once, and it would be nice if it wasn't using a
locking scheme that broke horribly on a significant part
of the deployments...
- --
All rights reversed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUdIY6AAoJEM553pKExN6DaisH+wWzTc+onHTsPUXs6EU/s+sa
lp3KFWmRQACPjiWSyIfg7aWFxakiS8BQ4ypbXdC/55lHuX/KMm/1k3zZF/lHiyYA
vIwfPUX7TnZxgYGVGk++nrCTffQImAc5RXlCBU6Hp6dHxV5Pead6S9afO8dfOeVu
80cpsqCyUqX+jhMDKq6NkIE0mCMb/U4L0cqo7m67h7PTlWmj8V64PKJjvkDu48O1
tPd+6jj4xDoEl8dde00EMaYETA6Utngt8+LslV1hMB1nxn82aNIGJnEqQco4WGXH
gE8Pkn+iToBe1hPF63MVZFJHRzXPUOAoaBCTgu7+l9LLDkfBgv2A/ckh5NLUrd8=
=41Jl
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists