Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp959816pxb; Fri, 22 Apr 2022 15:21:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwu9UendEG2rQRSqRhjJQhPaEHM5NHdlVk/frD9ZWwt65O2qAsP3c4V2k4fHvg4G0T8IDNQ X-Received: by 2002:a17:902:7083:b0:158:41f2:3a83 with SMTP id z3-20020a170902708300b0015841f23a83mr6757780plk.99.1650666075770; Fri, 22 Apr 2022 15:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650666075; cv=none; d=google.com; s=arc-20160816; b=fmsUP6CzdWJqLbS0oh6MUQN7ccIdIUDGxIyi/Qo6JoghGSbFcaSQV53Gw8pD3yS7al g9rVpu9SH4apfVGHhkXCbSg7OVleYA472Qr/zXPjhfi9Mj8Blv22vrs46APgDikjqlWf LQSb1Zh6wLZBv/xM4czkZuCuFgf2EKqjPuMvJvEiATP4Es+MEVTKpGgb7SQBbLT79IFz zV/451w1c7hZtDzWzsauPnBFH0M8Vkp/KvAd9vxf7NcYoyBqNY7lFZ3Zf8V4Fdae6IJh /6tkm+lgDZOQbGO7ZGsrb3ZK5458zGmsBpNWpukxwALSElKUAg0F4cCdk703iwOq9j/M SnlQ== 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=tQC09XeLIIHWqzjR8GYqcn4qidGKGo6aZk6xg0bEFPs=; b=Q6cTvKqVQk7FQN2PT0cdxkmK/BrLzoNQ8mYtFpoY8LDfHGJATQnOaO1QXPIKj2p3HM egZMdgpNmHN5wNwaQo5cjQPCexXi1znQP+8eczLS6tdpDPEdNNNp+kjqWE5sZZdm5p3a 4x8Idlw+PO+QieWD8mEoV2P228VzRshgEpGqQyoMWuusrrF1E0px0cDCLbsYwlccWTVK uBL5HmuzVTYwo0a+KKxn+a0I9An017lcJ7cLQyMqf2V/SgUq7lUk7Uidqs+yUxGTu5Kb IPh9bV9ltAZrc3Hb0E94LEgwZ3IEFtGWof+PoV7r4X84l8S+V4ZIpKaoz2XJi+E3oavI F9EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=b+olHbyu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k12-20020a634b4c000000b003a7dce158b1si9023891pgl.841.2022.04.22.15.21.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 15:21:15 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=b+olHbyu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E97412BEE80; Fri, 22 Apr 2022 13:26:36 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243932AbiDSEX0 (ORCPT + 99 others); Tue, 19 Apr 2022 00:23:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbiDSEXZ (ORCPT ); Tue, 19 Apr 2022 00:23:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B49AE1EAE4 for ; Mon, 18 Apr 2022 21:20:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4F45A61170 for ; Tue, 19 Apr 2022 04:20:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67DE2C385AE; Tue, 19 Apr 2022 04:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1650342043; bh=SkMyO5ksvmtWgBk5Fo1VJ5mXQrgD0cTZ5AqLxQU89Eo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=b+olHbyuknbDEbqf8tnzIOD9Hpco+gBk9i99p/Gr8p5ADUSS2r6IzyA2mVYDV5zOJ ZZXBvLzr6gRe8dKVwqq784JDZwLpfhFrQ/vyn8ms2n7XcrLDgynBUYxFtj1LwBBm55 MRj4EaOPgqbBhWlUvrpgYIg0QW3EN9rTlTMvGfbA= Date: Mon, 18 Apr 2022 21:20:42 -0700 From: Andrew Morton To: "Zhang, Qiang1" Cc: "ryabinin.a.a@gmail.com" , "glider@google.com" , "andreyknvl@gmail.com" , "dvyukov@google.com" , "bigeasy@linutronix.de" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" Subject: Re: [PATCH v2] kasan: Fix sleeping function called from invalid context on RT kernel Message-Id: <20220418212042.ae77c3c7ad51d95e59d6f78a@linux-foundation.org> In-Reply-To: References: <20220401134649.2222485-1-qiang1.zhang@intel.com> <20220415113456.2f24660a610e4f35fd72970a@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 Sat, 16 Apr 2022 02:47:43 +0000 "Zhang, Qiang1" wrote: > >Note that it incorporates the changes from your https://lkml.kernel.org/r/20220414025925.2423818-1-qiang1.zhang@intel.com > > > >btw, how are we supposed to test PREEMPT_RT builds? I had to patch arch/Kconfig. > > The attachment is a config file and I test with linux-5.17.y-rt branch (https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git), I have been tested. OK, but it's a problem that we're adding CONFIG_PREEMPT_RT code to the mainline kernel without providing for it to be at least compile-tested. Sebastian, is there something we can do here to increase the coverage testing?