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=-4.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 AC99EC433E0 for ; Mon, 13 Jul 2020 04:21:47 +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 681C62075D for ; Mon, 13 Jul 2020 04:21:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 681C62075D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu 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 1jupxn-0000vH-2s; Mon, 13 Jul 2020 00:21:11 -0400 Received: from omr1.cc.ipv6.vt.edu ([2607:b400:92:8300:0:c6:2117:b0e] helo=omr1.cc.vt.edu) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1jupxk-0000vA-Ud for kernelnewbies@kernelnewbies.org; Mon, 13 Jul 2020 00:21:09 -0400 Received: from mr6.cc.vt.edu (mr6.cc.ipv6.vt.edu [IPv6:2607:b400:92:8500:0:af:2d00:4488]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id 06D4L2gS001238 for ; Mon, 13 Jul 2020 00:21:02 -0400 Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mr6.cc.vt.edu (8.14.7/8.14.7) with ESMTP id 06D4KvQj027707 for ; Mon, 13 Jul 2020 00:21:02 -0400 Received: by mail-qv1-f71.google.com with SMTP id j6so6763409qvl.13 for ; Sun, 12 Jul 2020 21:21:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=rVfZCj7cOasM49MSyWzBdMFibybwAZzH8sRvtBie43Q=; b=MYNOCsH71Dc+xELEom2CIeQVPaaK8JxlMCIgOnJlxRgZfsCXuqxeMSaplBBNpugUpC EPbjMa8YFCHfGIaugRWBrPFDvhgt4d9XtpzQsZjtXfMtbL+CI6q+Tg12QhV3G2uU/hyT i5zfozqBSZMojdKokhfHSB4KmHYjlTATp4aAWzCrz/5Awz1rLXlDUIPshlk9iAC/PvVB e7zqwUKFzotdRXBePv56tRpemLj5lyoMQAxyaDVHBGxuPavKxHES+fIpkNMpGAcXDKpQ /amVpltGkfWZfWjCCxc/CpmdQG4YHxaVhe8G0GnJdKPMppUFZL76dm/altTXTwCEUO37 4EGg== X-Gm-Message-State: AOAM531I66ShpDio0leP4rNVbJ4YMJkNQTaeXDtSgfk5uNXnDr2cGB5N 6YogV3UzVf98s5xO7I2VGl1HhwFInaE9owPhbcN4e5cHtZaZXf+zs5ril8whmQHTTkjF/7Zp2PF 3ATnB56gLY0jqarTRc7ItmU12NwWsFtLtsNzgsXg= X-Received: by 2002:aed:2e22:: with SMTP id j31mr49067926qtd.366.1594614057390; Sun, 12 Jul 2020 21:20:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvOCET/yqFrenSBiNrqGxPqV2OFtD25kMNCc4daiDh4YOy77w3qEXc/PUIxeYLin6fulGWUQ== X-Received: by 2002:aed:2e22:: with SMTP id j31mr49067913qtd.366.1594614057103; Sun, 12 Jul 2020 21:20:57 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:c9e1::359]) by smtp.gmail.com with ESMTPSA id z17sm19277799qth.24.2020.07.12.21.20.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jul 2020 21:20:55 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: William Tambe Subject: Re: Regarding Linux kernel SMP and task switching CPU In-Reply-To: References: Mime-Version: 1.0 Date: Mon, 13 Jul 2020 00:20:54 -0400 Message-ID: <354833.1594614054@turing-police> Cc: CVS , Kernel Newbies 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: multipart/mixed; boundary="===============0486141575757309587==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============0486141575757309587== Content-Type: multipart/signed; boundary="==_Exmh_1594614054_174210P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1594614054_174210P Content-Type: text/plain; charset=us-ascii On Sun, 12 Jul 2020 12:24:46 -0400, William Tambe said: > On Sun, Jul 12, 2020 at 7:00 AM CVS wrote: > > > > > are there platform specific functions that are called to detect change ? > > What is it that you wish to do with this? > > I am doing porting work; I would like to be able to update > mm_struct->context when a task migrates to another CPU. That shouldn't be a big issue - there should already be architecture independent code that calls a function to do this sort of thing on task migration, and all you have to do is provide a "Here's how the actual update is done on the Wombat architecture" function in the appropriate place in the arch/ tree. --==_Exmh_1594614054_174210P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXwvhJgdmEQWDXROgAQJC9RAAmcFPPIZgCqHgf18iV2/xBZ4YknXF2Apg XU1KSXF7w7zhHShCyN5CiRyILmKixTbqJBhM0sQ6G3BaHX8v4Y03gxAStSAb0D67 rSfH5TjFjs8LJhGSE0w5Rpj6i5vO8xOqPqrNHrnIz+EbKHf7XZCwg0iw0O/K/COj SM1wvM5pVJ+D4iQoLxtfHJqxHM/9IUvgO2eejwmtsWb/HT16RSS13R5hmSslozfL 5bx/c75fO9EEerQx416SB56wY31TGfSLOwZHW88wo2TKUv6C5/aPFVgefsG2FIzM fx7ddXvw+bM/ekl0+raLCw0PGN4vF6hto+ct/Xc4qq09HLooNc+kr62KdcKOgaWL G/gSu7lYgqB3Hj/d7nss2jFw9XZMXNW0zr0W02213slKhEEYR45Iby08Xtu5lJFv KBUpmp+yA8Kfy9z06NDM19m5chlT5369RAGzH7I307PwMleBd0UQfb0Ltkhy648P OtZ79z6lyE6GsDNS15UdhJOxBwTC+53C2nDbhgkaqhG8A4lqeI6u8myCmj54R0kP sfdizpS58khNNtO4YCZjfEDYktCRcvMFBdsVGEe5KhRweZ4bEAhstzYx/7kNboM2 4PyTIPJLX1QHijqzYNCINyegPdT+bPvVkdUqEVrJNtEp0Jdf5maLM/Vz++z2wDbu KGC759sXUlw= =tHUF -----END PGP SIGNATURE----- --==_Exmh_1594614054_174210P-- --===============0486141575757309587== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============0486141575757309587==--