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.8 required=3.0 tests=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 75A8CC10F14 for ; Thu, 10 Oct 2019 05:43: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 27E6320B7C for ; Thu, 10 Oct 2019 05:43:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 27E6320B7C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu 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.3) (envelope-from ) id 1iIRET-0005wK-Aq; Thu, 10 Oct 2019 01:43:25 -0400 Received: from omr2.cc.ipv6.vt.edu ([2607:b400:92:8400:0:33:fb76:806e] helo=omr2.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iIRER-0005w9-3R for kernelnewbies@kernelnewbies.org; Thu, 10 Oct 2019 01:43:23 -0400 Received: from mr5.cc.vt.edu (inbound.smtp.ipv6.vt.edu [IPv6:2607:b400:92:9:0:9d:8fcb:4116]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x9A5hKNN027669 for ; Thu, 10 Oct 2019 01:43:21 -0400 Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mr5.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x9A5hFow031161 for ; Thu, 10 Oct 2019 01:43:20 -0400 Received: by mail-qt1-f197.google.com with SMTP id p56so4636387qtj.14 for ; Wed, 09 Oct 2019 22:43:20 -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=X699coxAsxFIqMI5gtuWpNnODghNCctNdLsziCRoZ44=; b=lhollGWeefhjYH66EUOL2fHCVE6dpOv4XmqUajNwETgHHFcKhEt9eGEVshTfrtIxJ0 n3fDpmmviYWfzXRCnxM+UH4sjefDyVuifPMDSE3YL+GTAlJghfNsfRMorp8IvPFZqPJy jPkKZG7vbNT7C27ZmNSiMoDcYKFXRQI5czuqR6TgSVWDptF0D/SB7yZKUBc/6bP5KTXA XNdlJc4eLzcPdA6K0hQPrH08FNGa5EYAZXX0vNZqPd0sLQbTtm3Uh5r9odpTCLR6mp8P cNvMiFUMMBJUQ1U6cKtrh22ob1yot+9ruSUFFyMAbWBCUQVD0mGm0iqbkqTo69JqMTcl CRYA== X-Gm-Message-State: APjAAAWQgmmiFRF9Ixqb6v60onq9g2nVLmoWhfJHFQ4FKke3TPiU9SB/ pZHLrKwxa6FN6mXOGxuTcrrislX/hFyqv/L86kpguOQunh4Dw2PCLlC5yfXUIeTXyQbw8QqUblH M2O4Wv9eY5fgeIGOmXmpi4OebhNOd3QJa5FkuNuY= X-Received: by 2002:a0c:fbcf:: with SMTP id n15mr8128992qvp.183.1570686195445; Wed, 09 Oct 2019 22:43:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6xczltGWTf8RK1BvQVZky3PrWQ8PPdvmtVcK7auWZhCYBG7N5j42D+hAmMMmZlk8Ezl+LiQ== X-Received: by 2002:a0c:fbcf:: with SMTP id n15mr8128972qvp.183.1570686195092; Wed, 09 Oct 2019 22:43:15 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:4341::9ca]) by smtp.gmail.com with UTF8SMTPSA id h9sm2221177qke.12.2019.10.09.22.43.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 22:43:13 -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: Irfan Ullah (울라 이르판) Subject: Re: Software Prefetching using Machine learning In-Reply-To: References: <170918.1570648112@turing-police> Mime-Version: 1.0 Date: Thu, 10 Oct 2019 01:43:13 -0400 Message-ID: <206547.1570686193@turing-police> Cc: greg@kroah.com, Ruben Safir , 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: multipart/mixed; boundary="===============4481058489516347012==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============4481058489516347012== Content-Type: multipart/signed; boundary="==_Exmh_1570686193_19279P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1570686193_19279P Content-Type: text/plain; charset=us-ascii On Thu, 10 Oct 2019 11:48:11 +0900, Irfan Ullah said: > it can it be possible to share any type of data structure (e.g., structure, > array, etc.) between kernel space C program and user space Python program > in two way communication. Python's split() is probably the wrong tool here. You probably are looking for something like this: https://pymotw.com/2/struct/ - the guys at Python Module Of The Week have you covered. And a more detailed write-up: http://archive.oreilly.com/oreillyschool/courses/Python3/Python3-08.html --==_Exmh_1570686193_19279P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXZ7E8AdmEQWDXROgAQLonxAAqGgHVz8uaw1Qw/qh9Z2NXTsZZnli0YYo xDir3Sv1q3k6YNZmYp8YLgCkrZkRypkomAeDKKIz0MMdnJrfDawM5A0C496xm+Ut 9adJ5hT8E4qYd1JnvMA/QZl+40lf8hLeiwptn4zyIgtxq430Ij52SPyyNc/O+e5Z 1NuT+IbkTLMVXbrNCFQe/ZPkk4+3sbrw7dgTX0eWm9T7kLSdCBBuQejw7sucnYfc UJx+uyHaX2CkRDuDL5MMkQVHZRz+rwsmh+nuveafS8e0PgPzGrodtxzPZ5FE/tS9 +p8IcngfgW8w2+qCssdmWbHBYsvyufic48ui/gAOZ3HvCbMnR6Yc4BIZgJZJFQHR YDO+y3SNnhByuEQFAkenDNN3tymGt0tYqdjJOb2nkqn4aJzfIXICziEQgFSNNNA1 UBCwI7d0Y9le4zR5LqTO1Ep6W1Q7viL2T9TDYXx7kcjqGc2rD+00wBXoLMY08LXo h1aI1p7EwSfnkn8KusKbNk+QkVK8pQV8PbB5K99ilYoNBJNd76pz395HSLbYCkDm pNEGdUOlPRTv5I8Q9vhqda9g0P925yntt0mIWSwNnqce9CBqHnWPn/Ls0whcavi+ OTec+J8y4mCn7aZ2TpODYxvDmtKUr9dLtpML6lvb04w07uHKii6IL3I3cnzB7OG0 3h58m7SAEe4= =VJg6 -----END PGP SIGNATURE----- --==_Exmh_1570686193_19279P-- --===============4481058489516347012== 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 --===============4481058489516347012==--