Message ID | cover.1703020707.git.andreyknvl@google.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-5958-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2234500dyi; Tue, 19 Dec 2023 13:20:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+A2GC5FOq2yqYES/+hmRK7EZNKHTcz8IIamyfQww2uTdeQDHAfdPNwDalsqcmFGruqkrX X-Received: by 2002:a05:6358:99a0:b0:16b:fe18:27fc with SMTP id j32-20020a05635899a000b0016bfe1827fcmr19992582rwb.31.1703020851721; Tue, 19 Dec 2023 13:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703020851; cv=none; d=google.com; s=arc-20160816; b=W262+yjStZPfZYT4IgIKt735p2KrGAHSOM1ii7fi/Mjhd6D1rZXncAuMXSUkvwK40r Tc7ci4UVlD2WQVOuo0QG/mAj2AOvlmWfVp4AkO5xnVvkpxtspO2MONxMdkH0LldEEo8K nzI8S6gXRHceRIMuXKl02yEEQsHwXyg5gIIouwvhzTMfzS98x9jeUZejZQil7CT2kHR5 inn8CUMbgf+p9W3+qYKf8pZsDa9iYXS3xpNPI8BJ1JC8d6G849BsoU1E9ExjUlRcmsdk Kc6DJk4tzlDyWCtS3FPor8RhAyFi1mOqCG/eUaEgGPpaTpVEnDT6TznIXHdG0Y0ZGXy0 g0yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=edMpd9BGEGYDrNpVSYxtSqq0y4QzGBIBITzoL+fELBg=; fh=R37Itr4vM4DSdM7nCVEJRaUzpyR01xRhpmD5Puf7xME=; b=p3dMdVU681cSITzFuVk71q+smNLlhwZh9o2esTBbZeqRlGpVsRWQn6JjRjzc+j21g7 IVVrS1Pgwrx4nsY5FLiCraFGp1raYDDxC+hdju4Yx1doucdYIhnTr7UXYj99fbGRbYb3 AxKZLjxRkBz5hhNWaChvxxpOup/+P5CW3q1iO4HE7zFVVsUiof5cv8ECWgEFHmpLqfhR v5o77d5KktIu3I5AJsHpgNvyiHCzEDSBBE8xf43Jc/3Ttv9SdVz5ZXoKTnoXlFSDzRnm a0RjGbnfS1srvOH4R5ALbpRCfkeAqgz2u9fp5zZaLNWpqTggJZ0XRjYnJY0ynq3dd1yL Zotw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=wLCvb7tP; spf=pass (google.com: domain of linux-kernel+bounces-5958-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5958-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 141-20020a630093000000b005ca186affebsi15080518pga.276.2023.12.19.13.20.51 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 13:20:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5958-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=wLCvb7tP; spf=pass (google.com: domain of linux-kernel+bounces-5958-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5958-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 58B12B24370 for <ouuuleilei@gmail.com>; Tue, 19 Dec 2023 21:20:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40E053FE3D; Tue, 19 Dec 2023 21:20:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="wLCvb7tP" X-Original-To: linux-kernel@vger.kernel.org Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 716533D0BE for <linux-kernel@vger.kernel.org>; Tue, 19 Dec 2023 21:19:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703020796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=edMpd9BGEGYDrNpVSYxtSqq0y4QzGBIBITzoL+fELBg=; b=wLCvb7tPTet1ewSEyphPkF5jb5wDKB5Vbjqh4le8R0Rn4fxhBnuoKo1fqvqY8SToVNk61x B1M4ri9j+O+GWc0OTT6fKsTtU9b1+XLXknmEYWgtYmEYdY8Rhj98SmDUO40SSsLlBIWU+r c2X4Jz1fohy0rf+kfz6yYZ33Z5V2yZ0= From: andrey.konovalov@linux.dev To: Andrew Morton <akpm@linux-foundation.org> Cc: Andrey Konovalov <andreyknvl@gmail.com>, Marco Elver <elver@google.com>, Alexander Potapenko <glider@google.com>, Dmitry Vyukov <dvyukov@google.com>, Vlastimil Babka <vbabka@suse.cz>, kasan-dev@googlegroups.com, Evgenii Stepanov <eugenis@google.com>, Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov <andreyknvl@google.com> Subject: [PATCH v3 mm 0/4] lib/stackdepot, kasan: fixes for stack eviction series Date: Tue, 19 Dec 2023 22:19:49 +0100 Message-Id: <cover.1703020707.git.andreyknvl@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785746792146696762 X-GMAIL-MSGID: 1785746792146696762 |
Series |
lib/stackdepot, kasan: fixes for stack eviction series
|
|
Message
andrey.konovalov@linux.dev
Dec. 19, 2023, 9:19 p.m. UTC
From: Andrey Konovalov <andreyknvl@google.com>
A few fixes for the stack depot eviction series.
Changes v2->v3:
- Use raw spinlock instead of spinlock to avoid issues on RT kernels.
Changes v1->v2:
- Add Fixes tags.
- Use per-object spinlock for protecting aux stack handles instead of a
global one.
Andrey Konovalov (4):
lib/stackdepot: add printk_deferred_enter/exit guards
kasan: handle concurrent kasan_record_aux_stack calls
kasan: memset free track in qlink_free
lib/stackdepot: fix comment in include/linux/stackdepot.h
include/linux/stackdepot.h | 2 --
lib/stackdepot.c | 9 +++++++++
mm/kasan/generic.c | 32 +++++++++++++++++++++++++++++---
mm/kasan/kasan.h | 8 ++++++++
mm/kasan/quarantine.c | 2 +-
5 files changed, 47 insertions(+), 6 deletions(-)