From owner-svn-src-head@freebsd.org Thu Mar 15 21:38:39 2018 Return-Path: Delivered-To: svn-src-head@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 4ED1EF560FA; Thu, 15 Mar 2018 21:38:39 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB5BF7A6E1; Thu, 15 Mar 2018 21:38:38 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: by mail-lf0-f43.google.com with SMTP id y19-v6so12413557lfd.4; Thu, 15 Mar 2018 14:38:38 -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:in-reply-to:references:from:date :message-id:subject:to:cc; bh=WqExMa9mnswUv/rFUClpX/LtPSXl2Cm7ottgKQ4QAKU=; b=D2FGMyb7niNI8uWH9bwwObciUbBKbKgpxzI3x0SyHByN7qhozCaEAj6Zq0/MMU8dPn f9W/JwVFSpTFpCD2Krqzyc9I04WDeWxfSCLGnam6ZIXfwsGVgORTCDfCKBdCRothgHZd ha8deS2CFvBw4w5cqUX077WTkuKIZFHmQ9z3hiYkIDvj0u1I3iX/LTeVe0NuctWJbguB mUXQ1hDeNExh40ysbMg7XAp8N8RNXM8GBo2uHbrVnRYRS1RsG7JEO6dCDFi8bsPi8big vCv2maumW5DXeNacr7gtkz63MnJwrBHbuQ1MNNC+0yKaI9HR9vpmKwCBEZDP8KGXkRSF OjwA== X-Gm-Message-State: AElRT7HrZPL+70eAGZRywMJK45OvyVdngSX7uDNrpopmyyUXijexqUzQ hN/hMjCqAXHA64H228vMSF1waz0qOok= X-Google-Smtp-Source: AG47ELvCQYC7geUqr13waump5jGH2181YYb3o1BALPfgjKxYtFWN4TLgfzRkGaqpieN2bUGYOL6cRg== X-Received: by 2002:a19:4d46:: with SMTP id a67-v6mr7763933lfb.36.1521149569349; Thu, 15 Mar 2018 14:32:49 -0700 (PDT) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com. [209.85.215.46]) by smtp.gmail.com with ESMTPSA id l5sm1276055lje.58.2018.03.15.14.32.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Mar 2018 14:32:49 -0700 (PDT) Received: by mail-lf0-f46.google.com with SMTP id f75-v6so12362772lfg.6; Thu, 15 Mar 2018 14:32:49 -0700 (PDT) X-Received: by 10.46.114.26 with SMTP id n26mr7535840ljc.74.1521149569036; Thu, 15 Mar 2018 14:32:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.54.1 with HTTP; Thu, 15 Mar 2018 14:32:28 -0700 (PDT) In-Reply-To: <201803151923.w2FJN7G7064582@repo.freebsd.org> References: <201803151923.w2FJN7G7064582@repo.freebsd.org> From: Kyle Evans Date: Thu, 15 Mar 2018 16:32:28 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r331018 - head/sys/vm To: Jeff Roberson Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 21:38:39 -0000 On Thu, Mar 15, 2018 at 2:23 PM, Jeff Roberson wrote: > Author: jeff > Date: Thu Mar 15 19:23:07 2018 > New Revision: 331018 > URL: https://svnweb.freebsd.org/changeset/base/331018 > > Log: > Eliminate pageout wakeup races. Take another step towards lockless > vmd_free_count manipulation. Reduce the scope of the free lock by > using a pageout lock to synchronize sleep and wakeup. Only trigger > the pageout daemon on transitions between states. Drive all wakeup > operations directly as side-effects from freeing memory rather than > requiring an additional function call. > > Reviewed by: markj, kib > Tested by: pho > Sponsored by: Netflix, Dell/EMC Isilon > Differential Revision: https://reviews.freebsd.org/D14612 > Hey, Just a heads up: this broke the GCC builds [1] with the following (excerpt): 20:00:47 /usr/src/sys/vm/vm_pagequeue.h:249: warning: redundant redeclaration of 'pagedaemon_wakeup' [-Wredundant-decls] 20:00:47 /usr/src/sys/vm/vm_pageout.h:98: warning: previous declaration of 'pagedaemon_wakeup' was here Thanks, Kyle Evans [1] https://ci.freebsd.org/job/FreeBSD-head-mips64-build/1108/console