Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp834361pxv; Fri, 9 Jul 2021 10:04:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzidbMX7RevO5XL/JQBodVviJqwG0S0hkQOxc/9efWhMsIe5zAjsCuXiGusQKviqj0UDFrf X-Received: by 2002:a5d:930b:: with SMTP id l11mr30664063ion.177.1625850274330; Fri, 09 Jul 2021 10:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625850274; cv=none; d=google.com; s=arc-20160816; b=sqWlcofhbJbQpEr8mcTlhmaLrOrMofMuNUYj7C4YPMRS4vKavp6N89yHJVlt61PeiN +LHHyKY2+m9+d7x/7qDbnRukPySUeNZHG1BhYN+G6J2U8kqStMBRlUQy2137eaUGIb9o BkPwTa1xCpo3dkgq9LWiBamgKAmCRciWAaaknekIAhxXVo92wbCsVbEF6N/F8LoPNmS0 oLyWq7ut/VcucKa5S2sLOeHG2OcC3wM4JwiZeaN3yTsxv3GxCKOLSRBn7COh4DlODgzc IlgixuSBg8kuNMvhSgFBVrxNO8EMcaR1f+l8Mfv2c6qas9DEaUbIZtKO7Wg0aUTlGlkI aCvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=YK7jJxbOZAuE7pVlknkPFwr7Jcd4jJxXltp6+8MxV5k=; b=mggTDgrgbwN09EZkn4cKEaGeHEmgVapqK6rEhz3Ia2iOTD8kAgmfgJyj/RdGOxCA4+ ZFPhHV71SCl0F1E5r0Poj3RyP+U96chBm5YMc5NyDyNLpriD2NGHDWgJwiyeklIyan4O lWF6Wu+8yPdzcL5LIkyqc9T3lzO9YBm0Ibrh5WCI6rsl358O/I4E0OV7qwa4F62auuDq UC00V6W44wQMViSntVZ89HtoV3hiW9Z72S0IVKoX6/xpORZvuGd9FTZYg8dYpXuVXxJp DK+6Z1WUxWg7UfQQsLPAxf+NX5faXtvzLyFL+B3Q2utRPqzZQm/FD7OQbihYYRP1J5sm BTgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=AWizmOE3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si6785507ild.162.2021.07.09.10.04.21; Fri, 09 Jul 2021 10:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=AWizmOE3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230015AbhGIRG0 (ORCPT + 99 others); Fri, 9 Jul 2021 13:06:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbhGIRGZ (ORCPT ); Fri, 9 Jul 2021 13:06:25 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CF77C0613DD for ; Fri, 9 Jul 2021 10:03:42 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id 59-20020a9d0ac10000b0290462f0ab0800so10093569otq.11 for ; Fri, 09 Jul 2021 10:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YK7jJxbOZAuE7pVlknkPFwr7Jcd4jJxXltp6+8MxV5k=; b=AWizmOE3raapwrlS3wvVw/oI5OJoo1PxO36Y3BtGnJpK0VTaTlKByhE8QBIeE1uzTd TCV+uM4qI4IMgTnQd6JxCDuay+LnHVRYT1ECf7XFvSe/T7D7JDE3VhOFGpXhOZETjt1t lI5Rmn5sJuBQL74che+B4S30uzdYdJQKZ1XKs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YK7jJxbOZAuE7pVlknkPFwr7Jcd4jJxXltp6+8MxV5k=; b=Ew58CiOe5tqE1qaQ54TaclAQ9tPZT5NlNgzBuNZXxJq8zt4OccoQaxmnTa5zkgQ5lH g6R/gZAHsl42mRZTlc0CYewdIZOPE+syI18E8i6EAOZ48wbMoH72XMjdkvv23jxFDSD3 A0ET3Jsus1H+BHKvV5qT+5Zo7uUBnFb+3q7l1OYisHeK7FiOjn/VwucOqw3SRbZEqMLy l/rgekjnXE8OYHmyfye/h/vnXi/exooRUCQmhzTFOiPVscCREqF57X4qYb2oYBO+7r8Z t/wrEyX3MtvRWGwvHZsBnGnhrnb1ZVK6Xf8F7/bTgMUAVPNYbx5EDepLbe9gTR+tYx5P ihkQ== X-Gm-Message-State: AOAM533FKcnDKc30LnrUeU99JHk5idmqX3RjVPKAqnbsRWfRGr3rQA5s a2EqEnJQ5KbVw3fe8FortQ3pXQ== X-Received: by 2002:a9d:2781:: with SMTP id c1mr28732408otb.34.1625850221514; Fri, 09 Jul 2021 10:03:41 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id j5sm431609ooo.22.2021.07.09.10.03.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Jul 2021 10:03:41 -0700 (PDT) Subject: Re: [PATCH] selftests: memory-hotplug: avoid spamming logs with dump_page(), ratio limit hot-remove error test To: Paolo Pisati , Shuah Khan Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20210630145740.54614-1-paolo.pisati@canonical.com> From: Shuah Khan Message-ID: <78e2f6eb-6147-6fb5-b093-9534f5b36032@linuxfoundation.org> Date: Fri, 9 Jul 2021 11:03:40 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/9/21 7:00 AM, Paolo Pisati wrote: > On Wed, Jun 30, 2021 at 04:57:40PM +0200, Paolo Pisati wrote: >> While the offline memory test obey ratio limit, the same test with error >> injection does not and tries to offline all the hotpluggable memory, spamming >> system logs with hundreds of thousands of dump_page() entries, slowing system >> down (to the point the test itself timeout and gets terminated) and excessive fs >> occupation: >> >> ... > > Anyone with spare cycles could review this? It got one ack already. > Thanks for finding and fixing this. Looks good to me. I will pull this in as soon as the merge window ends and 5.14-rc1 comes out. thanks, -- Shuah