Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1497714pxb; Sun, 19 Sep 2021 20:14:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqSVywWOP//HbXMlVDvktmWI/3bDmfSxIjb+wVq5m8+/wR8W5ATYv5dYAKDAUXiWUloA66 X-Received: by 2002:a5d:8b43:: with SMTP id c3mr16762007iot.30.1632107645301; Sun, 19 Sep 2021 20:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632107645; cv=none; d=google.com; s=arc-20160816; b=rXhIEx2bJYsU/5NOI7kgf2rVgFBdn7Lrb+p4EMpbiM2YnREDO0fB1cV0eS3rLdsYXr h3VofUCBHrJkJPVDUYx1gNmSkeG71n3CW2wxJFB+Clu76wxyxZ+mzUMd4b1UHUiQ9X8k BvnanwSR3mgJXD0AfolZ4KDfsc3V6hlWLT5wm8glrRGNn0uo3louQJ0gmUT7D7YB3RsA 3wR1ccj0mgVnSeXq5A3QYvAiKMX1DU6T300Be83kGvE559T0TeMuDG9ZlWD/9UJbMs+P IL0wTQqXCb8lkM07ZT4FyHY9NZHN4nAfTiTAWBfHefIbhWFwU/PkdPYTa1F2ZMsOfZL4 jOwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=GuEk0gNS4MnI/zqtpKABR7rKjnbnL6OqyGpa++pLW4w=; b=QTbK7FJX/uW4HCcN1ezD16zArXIpb17fafh6/BjqPBL4IbceUyHnburbjjQvzGKhDB JxH2KYCpWwJnkuwCKmDS3wLEMc6eSOD1g4Xhz1msV6VN72Fu7PEZiq4Lo9zmwTcjy/MR Vbul1xk2neBgl1yC28bQ7/n19vuMm9h8aVKmeRQYfwWsb+sgOqxUBNyG4MGWFO99eBUs zk2ti0zOt4cSpx190VOGXSvcfoAFSogC6wZY8/reY+kI64JfCUcWEE5VDiv7SfNp8wto SnlYSNJzH8M3rqZrtMNSIziG9Gn269FiQoz651VZdpGshGor+nfMyx/pG6scrGqRUiJj 2hHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=gya7g2De; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si11000612jaf.9.2021.09.19.20.13.54; Sun, 19 Sep 2021 20:14:05 -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=@linux-foundation.org header.s=korg header.b=gya7g2De; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231196AbhISWl2 (ORCPT + 99 others); Sun, 19 Sep 2021 18:41:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:59830 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230165AbhISWl1 (ORCPT ); Sun, 19 Sep 2021 18:41:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9E8EA60C51; Sun, 19 Sep 2021 22:40:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1632091202; bh=GuEk0gNS4MnI/zqtpKABR7rKjnbnL6OqyGpa++pLW4w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gya7g2DehzyQg8knIIoM8bOAse/WVChb3od20NpjLg5Coy9nArtY5oC0/CpE/Ou7D ZAWJYU6/MdUVjM5vhHnEgOX4hJhY7oCxRhw2/mq3dplsZXTWNMgTkEb5a7wZngCNZH xdJ+W9VXP2NMBrBYpP2hBsuEqe+tboFW+UFgKGpQ= Date: Sun, 19 Sep 2021 15:40:00 -0700 From: Andrew Morton To: Sultan Alsawaf Cc: Michal Hocko , David Rientjes , Mel Gorman , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: Mark the OOM reaper thread as freezable Message-Id: <20210919154000.2dbd44c146c18e65d5dbce37@linux-foundation.org> In-Reply-To: <20210918233920.9174-1-sultan@kerneltoast.com> References: <20210918233920.9174-1-sultan@kerneltoast.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 18 Sep 2021 16:39:20 -0700 Sultan Alsawaf wrote: > The OOM reaper thread uses wait_event_freezable() without actually being > marked as freezable. Fix it by adding a set_freezable() call. Oh. What are the runtime effects of this defect?