Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1792642rwl; Thu, 30 Mar 2023 01:21:00 -0700 (PDT) X-Google-Smtp-Source: AKy350a3YckArRTj9ob73VJdwtt/CIqOk3aRt4uNieBfK8vUmnWNVRflLewi+ju9alLppdINR+uI X-Received: by 2002:a17:906:1ce:b0:92e:f520:7762 with SMTP id 14-20020a17090601ce00b0092ef5207762mr1326107ejj.6.1680164460206; Thu, 30 Mar 2023 01:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680164460; cv=none; d=google.com; s=arc-20160816; b=yF6LSCQjH1qWb51/2IQfvfyPHURqIIjGQO79DecGULXqe96F+h2NA4Ix6NtoSB0ckn fXK1BvJt4WgCA0DACfwUzrVIugXFXN05TCG5QxxvWyvpZdd+jl083yNFXrfYWoA/xaSN gIob3Vimr8Pq1s59KhPTT/iQqfiacFTrq71bJq3cM+YetVGMT3nYD35VxNspqRhsyIhG FahF8nherBR9CM2b7HGYFLgffUA6a9a5L73o8obAJ8RyU0rr22oHwjp1zZOyKNA7ox4/ BiLKluVM0t+HhUplDh72rzPrw0e7NXuvLk8Aaj7cIyuVKS/D9obeX1wiLj1e0uNJ0SUB N27Q== 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=L10x+gjZbBUxwXOMonAltHgEjn5J6xPItrkvXXLM++4=; b=dapz78ueVwALo9DBHVSSdOMUskJWMx/WwFPe8D12AI0sK4XtJF0t4A/othTLdBZ8Wy OrfbGhS0PlR99SqTPETH/vQW7IPve73NMuaUNsBm10aIDcK2CPSgWHZWEQu1Lhd1bpy4 IprOLkHCNPIaGI3C66kmKKVyWqYK8xoxt+SQEByT6jB0yqWhqq0zxR/u0TIH0nThhpIZ 6SIHefFvAVDBPjjRCaIu3yXLw0Q+cfopB+rziEX9DvwhNU+K+W6duFfQ9akpEsL3+sBB v9mF+oHWhSHWpikRL5g9rPIZonZIyd6mxApUcoQlk79YSaiMMgJibbHUIgRCFFHBAvyf Fdwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=UpYLB6W9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz2-20020a1709072ce200b00931d3414a47si1832616ejc.200.2023.03.30.01.20.34; Thu, 30 Mar 2023 01:21:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=UpYLB6W9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230366AbjC3IQb (ORCPT + 99 others); Thu, 30 Mar 2023 04:16:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230304AbjC3IQN (ORCPT ); Thu, 30 Mar 2023 04:16:13 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 915096E90 for ; Thu, 30 Mar 2023 01:16:12 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id mp3-20020a17090b190300b0023fcc8ce113so21178146pjb.4 for ; Thu, 30 Mar 2023 01:16:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1680164172; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=L10x+gjZbBUxwXOMonAltHgEjn5J6xPItrkvXXLM++4=; b=UpYLB6W9l88El8IMNzJv2COxBro+vsxq+NdP4fzoPWmQxyXzgyqgJ9f3rF/FdgQQK7 28132MZi6UY9VRUYcpc/96wjPXoQ0nKj0aJsMMByazZi4lidlKMRpIUHnkY2AUMPrQ0P DKepCpUgD/pndT3d8yTNrThsxGmbOEKAoY8jdP5erzCZuJBksBZGvjItsSm9RiRelIS+ 0vSLdtYTkXImNER0vutxlCxFv50yzgNhCo2hEuidPpakx7Dx/Z2n+KhgJd4+JtzddBGE yQ4S78s+MHku6GnjQzYcfrdWfjQUHDMh+VW98ldWi9o5D8/6ukqHs6XiFxcI1zLvgyKh uKIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680164172; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=L10x+gjZbBUxwXOMonAltHgEjn5J6xPItrkvXXLM++4=; b=zve9ORgRoVxS+wSKnlibiyVMxwl6lm9BF6sCfUok+FkqwdGkNh10+xNMV3n7GKhcQr gPFyh2ax6Mrj6ptDHqKr76Py5Bk+P2nNhC/F6iWUNzZ3W/rlBdXel5ErCHPkFuozVpSL QLnN6GX60p58Ja/acJClHgIjQTfjA/N0aCrtnbKbrc+cIr9WbLlVYvQ5e12R/mMqsTVV UBBYHzWKn4pGNVrRKO+8pThx/h1H/OR+MrOsVV0OPjJWCF4V6+Jxy7dkARhqhJphfJLc 7F9N27COxUujeH4mzsYUcvPxLu5hua9sR9xI8eOZ6JA5t86c4gujEuTg/HZJkQ8Z3mS3 rFMg== X-Gm-Message-State: AAQBX9f+Z0ssyAOs3LX8WMUmI8+r8AII3WA8eHfgKhkBJv487Rwc/jQ3 rktgvKS9CUGGnau7BK9PYkr2pw== X-Received: by 2002:a17:90a:fd81:b0:240:c0df:64fc with SMTP id cx1-20020a17090afd8100b00240c0df64fcmr1561442pjb.2.1680164171960; Thu, 30 Mar 2023 01:16:11 -0700 (PDT) Received: from C02DW0BEMD6R.bytedance.net ([139.177.225.245]) by smtp.gmail.com with ESMTPSA id i13-20020a17090a138d00b0023cd53e7706sm2630837pja.47.2023.03.30.01.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 01:16:09 -0700 (PDT) From: Qi Zheng To: peterz@infradead.org, keescook@chromium.org, jpoimboe@kernel.org, dave.hansen@linux.intel.com, bp@alien8.de, mingo@redhat.com, tglx@linutronix.de, rostedt@goodmis.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Qi Zheng Subject: [PATCH 0/2] some fixes and cleanups for x86 Date: Thu, 30 Mar 2023 16:15:50 +0800 Message-Id: <20230330081552.54178-1-zhengqi.arch@bytedance.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Hi all, This series uses arch_stack_walk() to fix false positives of KASAN and avoid open-coding of unwind logic. This series is based on next-20230330. Comments and suggestions are welcome. Thanks, Qi Qi Zheng (2): x86: make profile_pc() use arch_stack_walk() x86: make __get_wchan() use arch_stack_walk() arch/x86/kernel/process.c | 22 ++++++++++++---------- arch/x86/kernel/time.c | 36 +++++++++++++++++------------------- 2 files changed, 29 insertions(+), 29 deletions(-) -- 2.20.1