From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 179F4C433E2 for ; Tue, 7 Jul 2020 05:11:50 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C602020702 for ; Tue, 7 Jul 2020 05:11:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WDlS8I4J" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C602020702 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1jsfsk-0000eL-JB; Tue, 07 Jul 2020 01:11:02 -0400 Received: from mail-qv1-f49.google.com ([209.85.219.49]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1jsfsh-0000dx-Lz for Kernelnewbies@kernelnewbies.org; Tue, 07 Jul 2020 01:10:59 -0400 Received: by mail-qv1-f49.google.com with SMTP id h18so18306708qvl.3 for ; Mon, 06 Jul 2020 22:10:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=lXNFUuwfL0aMU0eshHCv5SbrPtf+siJPvAbc5SeV8NA=; b=WDlS8I4J8cAH+N1Szpb/CKfyA8qBlbcTPUgRxgDXasegSW2b0tW/K930J/VGjchFo5 WGKHvO+Z3jo1ihuETMi78JXfO4sNdbfIezin5Z6iUgP9QrrNPu2RsUMedeOqyy1v5XYF U6xGVmlHIdKoYI1T9QF/0u7fy62AqdTidJ1dVmah4z8P64Dg9uye7ZmDJTlz31sZYKyk TGNMuuMZXf1s7onVijz/LcgEL0VMEypqSr81lI0S8rt/CFCiLSXkTvvqNO9F5+YzbrZg wbHZyZH+O6t/gtR2iCugg9eTjvZmY0CeJzNiNKJTsgte/pmAQFbXGF7NuvKDr3NkBpv7 4eyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lXNFUuwfL0aMU0eshHCv5SbrPtf+siJPvAbc5SeV8NA=; b=AFSDIXj/pCs/uLWA00/VFtcLzVlFyQPOFmiyhs2Arm7OI9oxiFLKKofuOfv7atsYul eTA3Q5AiYpGR2pmiUCP+4tUwy6+oVHA/SVsmNnmpwxwsiRdI/oBha0bb+u/4gy9gqd36 EDovmDpQFF2onWA2I+YY/47uD3psbKgJL9TxIzsk39nEOsGqViPhDkqeYI37DRVm1jqy 6yV9kY2GUQWtCW6twwMoAtS9KoVfEQKJ5SDr9GKPPIaVydrfh679Sb7T48EDvutB5BWn XZRhb6ZYxoL3xYvPB4h3Z4H0HpRJtu8KYr4v8rbPwkx989ITd7AVnOP9lZnqQp/dl3vA AX6A== X-Gm-Message-State: AOAM531PxS5uexEwvQVF2qGB8RLleKRDKHpYB1h5OfU0mQjSs5m2zsxT 5auOQOiO2dZllMguqtzgYe++Jqz5hj3IyT+XsIZlyGbID3gtxA== X-Google-Smtp-Source: ABdhPJwjHsN2VFav3Blb0tXARAhv9oOFRHn8SQC0NUOOCUegK9mKbs0x/uo4oba4hoz6SUua7VJGtzJ/3/onDVERwVg= X-Received: by 2002:a0c:a8e6:: with SMTP id h38mr44538348qvc.15.1594098504180; Mon, 06 Jul 2020 22:08:24 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?5a2Z5LiW6b6ZIHN1bnNoaWxvbmc=?= Date: Tue, 7 Jul 2020 13:08:13 +0800 Message-ID: Subject: What are the relations between queued_spin_lock_slowpath function and __raw_spin_lock function? To: kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org Hi, list What are the relations between queued_spin_lock_slowpath function and __raw_spin_lock function? For your convenience, here are the URLs of the related code snippets: https://elixir.bootlin.com/linux/v4.19.84/source/include/linux/spinlock_api_smp.h#L139 https://elixir.bootlin.com/linux/v4.19.84/source/kernel/locking/qspinlock.c#L282 Though I have carefully read the related code snippet, I still can't answer this question. I would be grateful to have some help with this question. Thank you for your attention to this matter. Best regards. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies