Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4244093pxj; Tue, 25 May 2021 03:41:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzljL8d4Nr6N3bdm16epjPd8JxOKmdwBhmBN+gtir96zN0ZACXzy07IblEijGjWMljZrkq0 X-Received: by 2002:a05:6402:2215:: with SMTP id cq21mr30874716edb.28.1621939299592; Tue, 25 May 2021 03:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621939299; cv=none; d=google.com; s=arc-20160816; b=Fa+fjpETuQgjOh51Tbv5fUJpJ4bijf9POhl/umBAxls46tUoj9W/vC9z+NcSpJRCz+ /wv2W0o6qUvlpqNKP9jihaktGzwL6fFes62ye7Bjyxzvk+TLOqjA0EBV4VvyTUaVV0B9 VbQPUDgDBkBWXGowgcPBbhIoVdlVhOsG6v8OFpvSzoq+1MYyC/uLYcXvoTciUHQz79xs LlukEuif11QteKMSLLslDD05NVK5hsfIfpgGokPUyZoV4aBykbQDW0RE9pWBgGLxf3aK Eic+jP72fUmlQ46p0DwKH6QhXwP3mvVPuS3erlQYc7XA4Yj3CjKtROT0rLOOLguZVxYD x1CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=+2NHrQq7CJZXOXXYROzsikoHeoVxtZlIR5HGVm+S1Kk=; b=NdFbTSz64O2WSw6vifUpt7LDu3nxTv3pIt3PBhFDA4UoreixvW7J2Nsz9To+sSDWyo mt+rSmSZf7wx/21M1DTqzFjQiRZQxEntuhlXmZQDWEMv7TRavVzhC5QSE/0lbuq/wOaR fRqpJWRITQA4oAkxWPHf10pz7mamUNhM+soC9PwmH1Z/k/DSbtqISqw+8Mr860MGuY74 Ep4FVMVLyt10o8Z+ptJcZey/qEmXk5OfzTokmA5UO4p8gIGXlGEe57vBXTeYNxcDoXKF NggIlvwUX8oYXmfrc5VmOBvxm576ddUAZGtC5Qq5VeYxNfY07XAd7ERF07qE/f6/5xrW trbA== ARC-Authentication-Results: i=1; mx.google.com; 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 u10si15799252ejh.112.2021.05.25.03.41.16; Tue, 25 May 2021 03:41:39 -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; 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 S231459AbhEYK0F (ORCPT + 99 others); Tue, 25 May 2021 06:26:05 -0400 Received: from outbound-smtp45.blacknight.com ([46.22.136.57]:48757 "EHLO outbound-smtp45.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231475AbhEYK0D (ORCPT ); Tue, 25 May 2021 06:26:03 -0400 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp45.blacknight.com (Postfix) with ESMTPS id 33D1AFAA06 for ; Tue, 25 May 2021 11:24:33 +0100 (IST) Received: (qmail 8878 invoked from network); 25 May 2021 10:24:33 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.23.168]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 25 May 2021 10:24:32 -0000 Date: Tue, 25 May 2021 11:24:30 +0100 From: Mel Gorman To: Vlastimil Babka Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Christoph Lameter , David Rientjes , Pekka Enberg , Joonsoo Kim , Sebastian Andrzej Siewior , Thomas Gleixner , Jesper Dangaard Brouer , Peter Zijlstra , Jann Horn Subject: Re: [RFC 03/26] mm, slub: don't disable irq for debug_check_no_locks_freed() Message-ID: <20210525102430.GL30378@techsingularity.net> References: <20210524233946.20352-1-vbabka@suse.cz> <20210524233946.20352-4-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20210524233946.20352-4-vbabka@suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 25, 2021 at 01:39:23AM +0200, Vlastimil Babka wrote: > In slab_free_hook() we disable irqs around the debug_check_no_locks_freed() > call, which is unnecessary, as irqs are already being disabled inside the call. > This seems to be leftover from the past where there were more calls inside the > irq disabled sections. Remove the irq disable/enable operations. > > Signed-off-by: Vlastimil Babka Looks like it was needed for kmemcheck which went away back in 4.15 so Acked-by: Mel Gorman -- Mel Gorman SUSE Labs