From owner-svn-src-all@freebsd.org Sun May 19 08:20:08 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3DC1C15A7418; Sun, 19 May 2019 08:20:08 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mail-it1-f179.google.com (mail-it1-f179.google.com [209.85.166.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C9701843DE; Sun, 19 May 2019 08:20:07 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by mail-it1-f179.google.com with SMTP id q132so18303837itc.5; Sun, 19 May 2019 01:20:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QP+Xn0HtyG/EqsgaIhkvXAahQiGi39R5nGJsERvqbvk=; b=djBh09BXc2tiojZi4/DrD5QIaS/L+kBU99ClDQmBr4P3JzIY9yqzE0XLqhNX5zbnj4 qKBkVHE/0xZnB63btLIWwGOyyqOqrSXz+S/Tsug8eyDqROpIKd5X3D01UGK9mTdTbLFD OLpQsjASarBxACV5OOOf7Do97i01kvW+Symmwc5Uo7le9VmChCbeq94UkcSYDHZaTAcZ /3r0ONYUv/b5pnw/q0q1eAFVMkb6g7++EMtKO4UIJgL9KmsIge6XxeDIzk6qxKaCeoti i1FfL2IjYHiBXYU26+PeuOo6WC+klKgTvdc9afx0VpfWE8F3kivn8mbfdQxaTIdnvI+r GP5g== X-Gm-Message-State: APjAAAVsQCvz0/kebpKOqeVKkZXzUmcaN4hE2laXDUPKAd67YgGgdvRx 7MCanKPo+uNM5bkK/VvttPU3ku1ErsFSfREr1pE= X-Google-Smtp-Source: APXvYqw42EeHi7m6/F8HrIPR7M87fH2Pu2VmxMRcTBajEPnLcmHivzHkxlZqXoC6VTHLMhPbRQtv7XYKIi5OkC4fmVo= X-Received: by 2002:a02:caad:: with SMTP id e13mr2133735jap.142.1558253530178; Sun, 19 May 2019 01:12:10 -0700 (PDT) MIME-Version: 1.0 References: <201905161328.x4GDSmMd072071@repo.freebsd.org> <20190518084406.GX2748@kib.kiev.ua> In-Reply-To: <20190518084406.GX2748@kib.kiev.ua> From: Dmitry Chagin Date: Sun, 19 May 2019 11:11:59 +0300 Message-ID: Subject: Re: svn commit: r347695 - in head/sys: amd64/amd64 amd64/include kern To: Konstantin Belousov Cc: Dmitry Chagin , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Rspamd-Queue-Id: C9701843DE X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.92 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.92)[-0.923,0]; TAGGED_FROM(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2019 08:20:08 -0000 =D1=81=D0=B1, 18 =D0=BC=D0=B0=D1=8F 2019 =D0=B3. =D0=B2 11:44, Konstantin B= elousov : > On Sat, May 18, 2019 at 11:35:29AM +0300, Dmitry Chagin wrote: > > =D1=87=D1=82, 16 =D0=BC=D0=B0=D1=8F 2019 =D0=B3. =D0=B2 16:29, Konstant= in Belousov : > > > > > 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 ver= y > > > 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 an= d > > > generation. New thread starting DI appends itself to the end of th= e > > > 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 ? > I use pkg, but after your mail, yes, compiled drm-current-kmod root@mordor:~ # kldstat Id Refs Address Size Name 1 4 0xffffffff80200000 1d536e0 kernel 2 1 0xffffffff81f54000 11e8 acpi_call.ko root@mordor:~ # kldload i915kms sysctl_warn_reuse: can't re-use a leaf (compat.linuxkpi.debug)! drmn1: on vgapci1 device_attach: drmn1 attach returned 19 root@mordor:~ so, I'll ping freebsd-x11