Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2019 11:44:06 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Dmitry Chagin <dchagin@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r347695 - in head/sys: amd64/amd64 amd64/include kern
Message-ID:  <20190518084406.GX2748@kib.kiev.ua>
In-Reply-To: <CAC0jpUD8kkK01fmagYBS9Tb%2Bfz0VqjCpdv-zZqi=mGR2XT-Eiw@mail.gmail.com>
References:  <201905161328.x4GDSmMd072071@repo.freebsd.org> <CAC0jpUD8kkK01fmagYBS9Tb%2Bfz0VqjCpdv-zZqi=mGR2XT-Eiw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 18, 2019 at 11:35:29AM +0300, Dmitry Chagin wrote:
> чт, 16 мая 2019 г. в 16:29, Konstantin Belousov <kib@freebsd.org>:
> 
> > Author: kib
> > Date: Thu May 16 13:28:48 2019
> > New Revision: 347695
> > URL: https://svnweb.freebsd.org/changeset/base/347695
> >
> > Log:
> >   amd64 pmap: rework delayed invalidation, removing global mutex.
> >
> >   For machines having cmpxcgh16b instruction, i.e. everything but very
> >   early Athlons, provide lockless implementation of delayed
> >   invalidation.
> >
> >   The implementation maintains lock-less single-linked list with the
> >   trick from the T.L. Harris article about volatile mark of the elements
> >   being removed. Double-CAS is used to atomically update both link and
> >   generation.  New thread starting DI appends itself to the end of the
> >   queue, setting the generation to the generation of the last element
> >   +1.  On DI finish, thread donates its generation to the previous
> >   element.  The generation of the fake head of the list is the last
> >   passed DI generation.  Basically, the implementation is a queued
> >   spinlock but without spinlock.
> >
> >
> 
> Hi, Kostik! First of all thanks for the previous help.
> Second, this commit broke i915kms module. Unfortunatelly,
> I can't give you a lot of information becouse I see only black screen,
> but I can help with testing
Did you recompiled the module ?



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