Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5684112rdb; Wed, 13 Dec 2023 16:48:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4CKeSRnIAQ+2L2u3W6FbIbLWWk42KUoZePlmkvuZCEDaJZOIMYMXJXbH3EmZNN3rBaLn5 X-Received: by 2002:a05:6870:2247:b0:203:4ad8:d8a with SMTP id j7-20020a056870224700b002034ad80d8amr71875oaf.7.1702514894203; Wed, 13 Dec 2023 16:48:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702514894; cv=none; d=google.com; s=arc-20160816; b=qr9K5nxk0IUa1zag4nGBayvm7UoGQ3Sg13Wq9jKz7Tws4vXYv4C3g5FHPnVgXPf+3J 8swaTFNvY3tb9HEjb/b7tqgBxBB/DmDlnICSO1PHUcpU8gj/YIuy26Fwqldc3NldDRSu fGT5WESfJNCyZPywJEhV1utoFM+sOT3Ge9odUCXePP5DMUCMAEGX8Xe1SwBdhhE54mET i7zDDk7wURsQoam6F6L4IoYApIQ9zL8Ca72iP6y2D8f7dxYWIayRGvZDz0ZfiWDHNcE8 RPFdBU0RKCHj0SXM4zvlzVrDPYkDFKIULLnaOgXi0j972obh+u9k0ug3loghHJyRU7cj l+7g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=cJEulgYn/h7q3QFVAp5zsWImEtvD0ben3q7crmppy9w=; fh=R37Itr4vM4DSdM7nCVEJRaUzpyR01xRhpmD5Puf7xME=; b=Z5uuP5zeOuzBoZmjb2HjVcPg/Rtj+RvKs9V+v4Nrxk76tg+L5MocPUsjZuqkbrNpII vaBzsbRD/IJ125gGX5DJIiIpMTaZaWktfqsxsv0RLmja1V2zSeUHS3t3W/RxNvNh/DV6 8Wnr1W6Uoq7lQpfTBxK7Y6OvLP/T7uxOxD65+O5mWXoz0V2ezgHEoLMsqcHEIsF2TTY3 xBiRvnye6VeTShCxxvjMB9aLf2jX/4LZeA+PTf5AVL26N8Ljf9DR2PpNomiVTSqxLK1a KP22Dkfqf9iR3UAyInGHz7fQmXX9xotnrntaEH29zERZKpAjLvCZZGD2POlJhIR1yaXH pQdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=f+afQX0w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id q207-20020a632ad8000000b005ca5b61cac5si534547pgq.121.2023.12.13.16.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 16:48:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=f+afQX0w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 1F04280CE7E3; Wed, 13 Dec 2023 16:48:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234117AbjLNArz (ORCPT + 99 others); Wed, 13 Dec 2023 19:47:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbjLNAry (ORCPT ); Wed, 13 Dec 2023 19:47:54 -0500 Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [IPv6:2001:41d0:203:375::ae]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BE399A for ; Wed, 13 Dec 2023 16:48:00 -0800 (PST) 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=1702514878; 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=cJEulgYn/h7q3QFVAp5zsWImEtvD0ben3q7crmppy9w=; b=f+afQX0wFs1xoeMdRosudkjUDhhaUDWmxywT7rSErc7biX7YulrrtLhocNi1BOL/Dtrnmt oHmDRjCkjF3IQ8ZGEabXb1ZDHPfxmN+rJZ/4XBN+nx4LLVcfaAlp8nqZpsDTBT1othp+u3 F4f1YEnUQMpvcQ/su0nsiQsfnh5UXxc= From: andrey.konovalov@linux.dev To: Andrew Morton Cc: Andrey Konovalov , Marco Elver , Alexander Potapenko , Dmitry Vyukov , Vlastimil Babka , kasan-dev@googlegroups.com, Evgenii Stepanov , Tetsuo Handa , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov Subject: [PATCH -v2 mm 0/4] lib/stackdepot, kasan: fixes for stack eviction series Date: Thu, 14 Dec 2023 01:47:50 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 16:48:10 -0800 (PST) From: Andrey Konovalov A few fixes for the stack depot eviction series. 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 | 2 ++ mm/kasan/quarantine.c | 2 +- 5 files changed, 41 insertions(+), 6 deletions(-) -- 2.25.1