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=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 EC0AAC49ED7 for ; Fri, 13 Sep 2019 12:55:55 +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 A18BF206A4 for ; Fri, 13 Sep 2019 12:55:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="g+79WZFc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="kgdmMehL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A18BF206A4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.2) (envelope-from ) id 1i8l6c-000411-0p; Fri, 13 Sep 2019 08:55:18 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) (envelope-from ) id 1i8l6Y-00040v-E4 for kernelnewbies@kernelnewbies.org; Fri, 13 Sep 2019 08:55:14 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 19CC44C7; Fri, 13 Sep 2019 08:55:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 13 Sep 2019 08:55:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm1; bh=P ck7Jek+mdttiSU4/22gPObMmaJCSciICV0/18UCUu8=; b=g+79WZFcMDqDnD77x c7cn6i/MlybD9OWxWV27vjMDYHGxC04VXArSQiOgFqRDx0B14SCTfsISWfcyVIvL t8ptm6k+PbYwrNzhJ+f6S0NKvGwxB3A7VOKOD2OQtUjIIxXR3C52NJ3BpLdR3bRN y0mmopcKp4wMSDSFVapweP7Z0wt6QSjD+hTpu5+0QSpTKWyel3n13MhjnR2EFFBE YJ8X6ZIdQOHVAvnmlMhMbyy6YDe2WsLbyuGDOdkMJgt7uzrVLDgY2Fkig0U6phJL l/dJ/rjATX/52dMd64bah7qZp3X0/wup+cAPMDym7pyAi937+oRitxQdVuoOM2yX Lm//g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Pck7Jek+mdttiSU4/22gPObMmaJCSciICV0/18UCU u8=; b=kgdmMehLqYROfd1PwUdEWpjvLnNyRZxNyQcKoRlVhpwKkZwZF9rz4rUnh JE4bigh2n8qMSUHdX6fSF50nz9btXV3XaPW+cbpCpqcvS9V7jLQlkx1ynznajIiC 2/lef9bHRqc/3ktNcRxILHzzglFA8MTiiqPvvL9mu/wFGWHY0WpO1mIoQITzE6Hi pfFc2oB7a+uSbCJSekKw3M5gvWbBx8SUrS6oj2rSlHsacnzuzzWa2CqzsFp8z/RG gLbZIuOAksVFphrwe0DyszSHNsE45wO8ism4fh/2KMHxS/8fC1466TVS0SBWN8YV fvq1n0sJPS/MiAkKNxY412E0CWFiA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrtdejgdehjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjfgesthekredttderudenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecukfhppedutdegrddufedvrdeghe drleelnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomhen ucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (unknown [104.132.45.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 4FC51D6005D; Fri, 13 Sep 2019 08:55:11 -0400 (EDT) Date: Fri, 13 Sep 2019 13:55:10 +0100 From: Greg KH To: Martin Galvan Subject: Re: Setting CPU affinity for current process on kernel module? Message-ID: <20190913125510.GA402888@kroah.com> References: <20190911191657.GA11969@bharath12345-Inspiron-5559> <20190912092618.GA5911@bharath12345-Inspiron-5559> <20190913045045.GC120223@kroah.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Cc: Bharath Vedartham , kernelnewbies@kernelnewbies.org 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: kernelnewbies-bounces@kernelnewbies.org On Fri, Sep 13, 2019 at 09:43:33AM -0300, Martin Galvan wrote: > El vie., 13 sept. 2019 a las 1:50, Greg KH () escribi=F3: > > I really hate to ask, but _why_ do you feel that this is the correct > > solution to your problem? What is the problem you are attempting to > > solve by doing this? > = > I'm reading and comparing per-core MSR values. And doing what with that information? We have a msr driver for userspace access to those values, does that not work correctly for you? greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies