Message ID | 20200811053914.652710-2-davidgow@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=buan=BV=vger.kernel.org=linux-kselftest-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 21148722 for <patchwork-linux-kselftest@patchwork.kernel.org>; Tue, 11 Aug 2020 05:39:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 094152076B for <patchwork-linux-kselftest@patchwork.kernel.org>; Tue, 11 Aug 2020 05:39:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ex3UMkvi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728064AbgHKFji (ORCPT <rfc822;patchwork-linux-kselftest@patchwork.kernel.org>); Tue, 11 Aug 2020 01:39:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726182AbgHKFjg (ORCPT <rfc822;linux-kselftest@vger.kernel.org>); Tue, 11 Aug 2020 01:39:36 -0400 Received: from mail-pf1-x449.google.com (mail-pf1-x449.google.com [IPv6:2607:f8b0:4864:20::449]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C03AAC06174A for <linux-kselftest@vger.kernel.org>; Mon, 10 Aug 2020 22:39:36 -0700 (PDT) Received: by mail-pf1-x449.google.com with SMTP id 129so9636874pfv.6 for <linux-kselftest@vger.kernel.org>; Mon, 10 Aug 2020 22:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=7T9CW/c7Zee0z3O+ssd8ugkXYgOmzh7dNULbFDDyxII=; b=ex3UMkvioGZcSdjkSZ3VMaDVrsMH7gLRv9mL8dE32SHnMS1Vp6aG8/WmhbdmLvhphx /1v5a5fB7wj+oPV+Oc932ItwZvqnOIfEfLFYIw2mw2xZ/BV4hxWbi6NbevXGJb6p/hAZ yLXIEGEadjNF+sz9Jmv4UDGjcUqUtFOw6QCS1DZ+FEz5mJ3M3jghYEh5nD/PUf70urZp sps9PvRiVV4Y8ga4E2mUIRkSVKdrG6kuk49HDExd1cDp6dbef6FbORjBCLjcD9mRJnpo UBL2v5FhX6Svv1k+vhVgCBzqe6WharEZ3d2Bd9kDkP7a6TkrmwopneVNZXXmKHG73Y36 zofw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=7T9CW/c7Zee0z3O+ssd8ugkXYgOmzh7dNULbFDDyxII=; b=YRYK4bneP9f6lPLDgr950sohJyOlFqChZdKziknSndQ/MW3+IcjmsN31J71vCbBNg7 /ubvH7fJuqhhzj8rSaRC4MDSbhpOlUZoHJHB5WVr88djB/jZwjzW8dKiZw9diBz4Bi8S r/KGZ1OeP3JpJwCLlzoqv00pp0TGRFQjmeyTk+w7HnsPWYXEur2n/pK7b4VtyJ6WwpSA Qz08Usivyw5iWkebowJB+ODt0Exv/GRrIId6WBIRnw5PcU+NcZ4kMQ9EH/JVZiyV0XMA m7yFvMnFW973Pf7UFPaGaf23KaYwCPpYQfsrL5abkjEAMwk9q3ISnsJ2o/NujNQODToz LyHw== X-Gm-Message-State: AOAM531v0fUd1/6PxDgrSrSUNTr7n4x5LXAC1pfwJx4ynQh0DS3o+Qto 3iu923QxwQZH21S/idQrpkXRDuBiuPgV+Q== X-Google-Smtp-Source: ABdhPJyfog1oEdqhl3BDs/ZjD/wVYqou+PSwo2789g+sgcAektkcXd/V0M+4Yhqyd+fqVdDQRSewJ+BIlw1fHw== X-Received: by 2002:a17:90b:3684:: with SMTP id mj4mr2854429pjb.195.1597124376232; Mon, 10 Aug 2020 22:39:36 -0700 (PDT) Date: Mon, 10 Aug 2020 22:39:10 -0700 In-Reply-To: <20200811053914.652710-1-davidgow@google.com> Message-Id: <20200811053914.652710-2-davidgow@google.com> Mime-Version: 1.0 References: <20200811053914.652710-1-davidgow@google.com> X-Mailer: git-send-email 2.28.0.236.gb10cc79966-goog Subject: [PATCH v12 1/6] Add KUnit Struct to Current Task From: David Gow <davidgow@google.com> To: trishalfonso@google.com, brendanhiggins@google.com, aryabinin@virtuozzo.com, dvyukov@google.com, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, andreyknvl@google.com, shuah@kernel.org, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, David Gow <davidgow@google.com> Content-Type: text/plain; charset="UTF-8" Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kselftest.vger.kernel.org> X-Mailing-List: linux-kselftest@vger.kernel.org |
Series |
KASAN-KUnit Integration
|
expand
|
diff --git a/include/linux/sched.h b/include/linux/sched.h index f92d03087b5c..3db26aa88971 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1203,6 +1203,10 @@ struct task_struct { #endif #endif +#if IS_ENABLED(CONFIG_KUNIT) + struct kunit *kunit_test; +#endif + #ifdef CONFIG_FUNCTION_GRAPH_TRACER /* Index of current stored address in ret_stack: */ int curr_ret_stack;