Message ID | 20200805042938.2961494-2-davidgow@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=NA3S=BP=kvack.org=owner-linux-mm@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 6EF7B6C1 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 5 Aug 2020 04:29:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 44A8722CB3 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 5 Aug 2020 04:29:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="KH87wYJU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44A8722CB3 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8A8CF6B000E; Wed, 5 Aug 2020 00:29:51 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 858EF6B0010; Wed, 5 Aug 2020 00:29:51 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7480E8D0002; Wed, 5 Aug 2020 00:29:51 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0125.hostedemail.com [216.40.44.125]) by kanga.kvack.org (Postfix) with ESMTP id 5A9666B000E for <linux-mm@kvack.org>; Wed, 5 Aug 2020 00:29:51 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 181D81EE6 for <linux-mm@kvack.org>; Wed, 5 Aug 2020 04:29:51 +0000 (UTC) X-FDA: 77115236982.09.fowl94_49180a126fac Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin09.hostedemail.com (Postfix) with ESMTP id E420B180AD802 for <linux-mm@kvack.org>; Wed, 5 Aug 2020 04:29:50 +0000 (UTC) X-Spam-Summary: 1,0,0,ff9a8482cdba1350,d41d8cd98f00b204,3vtuqxwgkcnazwh4z2ai2aa270.ya8749gj-886hwy6.ad2@flex--davidgow.bounces.google.com,,RULES_HIT:41:152:355:379:541:800:960:973:988:989:1260:1277:1313:1314:1345:1359:1434:1437:1516:1518:1534:1540:1593:1594:1711:1714:1730:1747:1777:1792:2198:2199:2393:2559:2562:2731:3138:3139:3140:3141:3142:3152:3351:3865:3866:3867:3870:4250:5007:6261:6653:6737:7576:9969:10004:10400:11026:11473:11658:11914:12048:12296:12297:12438:12555:12679:12895:13069:13311:13357:14096:14097:14181:14394:14659:14721:21080:21220:21444:21451:21627:21740:30003:30054:30070,0,RBL:209.85.160.201:@flex--davidgow.bounces.google.com:.lbl8.mailshell.net-62.18.0.100 66.100.201.100;04ygcietgxwacs7j1f8egiuaoadgdypfh4zr9q8hxudneb8wg6s6671aof88rw7.3aty16teb4wcs1hd1m9ozgx6zxe31pa84ep7ej1wxzkwmoqgaekz8heasqc4azf.6-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime :24,LUA_ X-HE-Tag: fowl94_49180a126fac X-Filterd-Recvd-Size: 3845 Received: from mail-qt1-f201.google.com (mail-qt1-f201.google.com [209.85.160.201]) by imf35.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Wed, 5 Aug 2020 04:29:50 +0000 (UTC) Received: by mail-qt1-f201.google.com with SMTP id f59so17751164qtb.22 for <linux-mm@kvack.org>; Tue, 04 Aug 2020 21:29:50 -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=1s/fGj49wZAcV85LY6dM4ghB8ELbpKuQm5SC6WcoZ6s=; b=KH87wYJUH7h4lE7GNyS9Zkc0/3HRb/qCKsvepF+wF74pNbnprxanLXxWGZSvHNat2a KWa0kEHWNrd7PrwIvCVKfksv1mmUs8g8LsJsxRw8MqeCep8TI+d7HZWQeJasaU/JwQTW AKpMgngEZL/m8NQmYa4KC6mczZeb/RC8JGkMGn0iRU3KSk33CpJ016RNn/IZGuOGUJL2 oV6vVsprw0GfpE7+M7sO/O9plsvSGD0AeS1E2y/MrYtytWkyzdyBOZguaFPwKeQ1WQqS DYh72SsnIMEPVXGCBfQKMj9RN29n+3XzA7q63+xuoi/uaVbvSqOkv2MSoghGEn2bQzLj N8XQ== 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=1s/fGj49wZAcV85LY6dM4ghB8ELbpKuQm5SC6WcoZ6s=; b=eokZ5sVDkwH1oEoNDuzO1QW9zocK3N7n/J5KT1SawlHuzyUFK+j+vN6KIvH9jsA6w9 7eU3sha6ot4YcsXkgJbewcGjmKnCezLvpmR2PQVYq2Zt0SV8KgPifvu0ux8IfRMxIm44 lajxxdVaO4BVoOgX+h6iUfYH8Uy5gEJYXOxMi06l2O6/ljpyaI99n2NzQmQ07UVBwNZC 2qyYC9At7OCYC4313WgyyAgYgSTzv/RtiDY214pijXHLGvTM/+IdpP93QHcNlQA8pZpU FUMGTJJIckR87DvC/AewrMffVvyhSxccyBFh2quwrGSADpjW3iHeLeuQp3F2M5oa9xjM M6YQ== X-Gm-Message-State: AOAM5307DY57i4sVq4K+5ALvfelWIQsObQ2A2ehgaweYLxwSWLljzK+D 0pGcUyeu1wKJAOnMllUoVPtiIe1wUU5/PQ== X-Google-Smtp-Source: ABdhPJylrtvvJBJ9f9qdqVMEdPVylXivJYIOITqT9qZY1M+5gLFwdOVxzioKQUYCPH/JukP+OFQzFLRW8FIJlw== X-Received: by 2002:a05:6214:1742:: with SMTP id dc2mr1836989qvb.90.1596601789643; Tue, 04 Aug 2020 21:29:49 -0700 (PDT) Date: Tue, 4 Aug 2020 21:29:33 -0700 In-Reply-To: <20200805042938.2961494-1-davidgow@google.com> Message-Id: <20200805042938.2961494-2-davidgow@google.com> Mime-Version: 1.0 References: <20200805042938.2961494-1-davidgow@google.com> X-Mailer: git-send-email 2.28.0.163.g6104cc2f0b6-goog Subject: [PATCH v11 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" X-Rspamd-Queue-Id: E420B180AD802 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000066, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
KASAN-KUnit Integration
|
expand
|
diff --git a/include/linux/sched.h b/include/linux/sched.h index 27882a08163f..f3f990b82bde 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1196,6 +1196,10 @@ struct task_struct { struct kcsan_ctx kcsan_ctx; #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;