Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp690400rwb; Thu, 19 Jan 2023 01:05:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXuCHld+hWy+jJWlNDTDjRtwvCEVzvDAnnI+2ICIex6BkNQgaF8doNvtqhsw4OW4YZIEjBzs X-Received: by 2002:a17:907:c395:b0:870:34c:97cf with SMTP id tm21-20020a170907c39500b00870034c97cfmr11462884ejc.25.1674119118618; Thu, 19 Jan 2023 01:05:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674119118; cv=none; d=google.com; s=arc-20160816; b=sgeV3VRuo7suNbPH5YHQyji9QIEoNq7jG1svUQNwmwaoDHdq5HI+j6zI4pbgeVyHki 8HiGKCPc/4LnwBUPTVZlPs0EHI/gxbDaozz/hMTeIX94tcX8E1ZPzweScRg0d7Xjnr09 2DDmOGzI6t5VxLouho+S4XO4xmFcitSzfu/+fk0a/PC3Vb/EYIs5qresc+24jh1ZNfT5 f0MluXfBJDEKniOpKIV+KuEWNP5FNv/T0JXebFYjPW9Y/TUpRv6Re5+uSXmGMI6xLBgs u+JbDKnBNUFLWF6+GHn3Tb7+dCXMYdPvZ2xNQwHTbNQpbPduMoCFpI2ijM1OYmP5RUKe 5Jgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=TmrJSqLe0Kzc3iV/lLlnlsBxYG9x8L9YpROtD+7dxhI=; b=UU2hbWFNbMyBV8RN6vj7AB4X60D0AzqXNdQR3j1HlYo0EsrUA8x3+8QwJOmUPTJDom XBR++vYWEmG+Ify+wVb+0K5BvYBj8c0rjQbrwBmphtPOJwwmsRFU31uUg3UvF4xreaOg 9ylB1h5DztzsbuZDuFMgNWTTDorQMNvvsvK4laSPKRPqhY3huXHj1D4XL9eeRF9LUg8b QCApDkgyg5bspQSh7+wJ07eCzkbEPTeT34HNbcpElo7Me2WgtCf7j9olvd5Ij/+ITv51 H3YwjEfr9VA0AyJN8lSNibWDvE/+A0VYbMOK71ZdTgKuifDIFdaC0TMkLEKZrDJUhwCI IN4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="zj5/zJeX"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd38-20020a1709076e2600b008725a1034d3si9670811ejc.85.2023.01.19.01.05.07; Thu, 19 Jan 2023 01:05:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="zj5/zJeX"; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229948AbjASIce (ORCPT + 44 others); Thu, 19 Jan 2023 03:32:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230117AbjASIc2 (ORCPT ); Thu, 19 Jan 2023 03:32:28 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42DA75AB53 for ; Thu, 19 Jan 2023 00:32:25 -0800 (PST) Date: Thu, 19 Jan 2023 09:32:22 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1674117143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TmrJSqLe0Kzc3iV/lLlnlsBxYG9x8L9YpROtD+7dxhI=; b=zj5/zJeX2oZ6X8PR5xB+7XcU6/D0VmJpiJmRnNOSN8FVEmLyCVwTne6SboXRlrjgxLYbxO LwS5X/F+UfhhSi7WAZh127uW3abzqub02uhAJQtMf5cPGNv9XeSAcF1VHAv4dZsUAZoRdQ bgipSi6zI6FsB1UvS87wWwg/EcQFM6fH59zelKjdWhLayRjDPBd80w0/TvFqkirngT8Bm0 F7kgvxeaBc+wLaKabUTnDHLBekrlnBZE/h1KNYIx8PVJsy7aC580QLgdF5uBb8E0FLjDSE 9NaKRBST+e2TLRiAUyetTTSjdRLkLUt2m+LuJ+I4LJwvLhZc2HFlC7E8P61msw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1674117143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TmrJSqLe0Kzc3iV/lLlnlsBxYG9x8L9YpROtD+7dxhI=; b=9pNbI3J1w/ieCG65fZGpgxw5G8xrSpXRpEScS5Bw0tI8HvT1DUbnOIg20juWhrFAPMcklv gHDN7PFMzqfF2EAA== From: Sebastian Andrzej Siewior To: Hillf Danton Cc: Mel Gorman , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Davidlohr Bueso , linux-mm@kvack.org, LKML Subject: Re: [PATCH v2] locking/rwbase: Prevent indefinite writer starvation Message-ID: References: <20230117083817.togfwc5cy4g67e5r@techsingularity.net> <20230117165021.t5m7c2d6frbbfzig@techsingularity.net> <20230119011538.3247-1-hdanton@sina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230119011538.3247-1-hdanton@sina.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-01-19 09:15:38 [+0800], Hillf Danton wrote: > But starvation remains same given RT contenders, even if prevent is put > on your subject line. > > What sense could the 4ms deadline make at best if RT contenders extend > it to a week? > What will happen if RT contenders are hurt by the starvation deadline? As far as Mel's efforts go, I am satisfied so far. Maybe you can improve it further afterwards. Sebastian