From owner-freebsd-arch@freebsd.org Thu Nov 30 21:04:26 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B95CCDBA838 for ; Thu, 30 Nov 2017 21:04:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C62A75A23 for ; Thu, 30 Nov 2017 21:04:26 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id vAUL4KrX070172 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 30 Nov 2017 23:04:20 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua vAUL4KrX070172 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id vAUL4JSm070169; Thu, 30 Nov 2017 23:04:19 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 30 Nov 2017 23:04:19 +0200 From: Konstantin Belousov To: Larry McVoy Cc: Warner Losh , Scott Long , Kevin Bowling , Drew Gallatin , "freebsd-arch@freebsd.org" Subject: Re: small patch for pageout. Comments? Message-ID: <20171130210419.GH2272@kib.kiev.ua> References: <20171130173424.GA811@mcvoy.com> <20171130184923.GA30262@mcvoy.com> <20171130193213.GF2272@kib.kiev.ua> <20171130203047.GB30262@mcvoy.com> <20171130203725.GG2272@kib.kiev.ua> <20171130203911.GC30262@mcvoy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171130203911.GC30262@mcvoy.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2017 21:04:26 -0000 On Thu, Nov 30, 2017 at 12:39:11PM -0800, Larry McVoy wrote: > Perhaps I misunderstood, I thought your patch was instead of the pageout > patch. Is that not the case? The patch aims to fix the situation where OOM triggers too late. It might have some effect when pagedaemon cannot cope with the speed of page allocations, but it would do it in rather rude manner of causing OOM if some process cannot get a free page for long time because page daemon does not provide enough free pages and other allocators steal the limited supply.