mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bodo Eggert <7eggert@gmx.de>
To: linux lover <linux_lover2004@yahoo.com>, linux-kernel@vger.kernel.org
Subject: Re: Accessing data structure from kernel space
Date: Wed, 30 Mar 2005 14:27:13 +0200	[thread overview]
Message-ID: <E1DGcHz-0001Tk-NF@be1.7eggert.dyndns.org> (raw)
In-Reply-To: <fa.kvq30up.1h3mr8j@ifi.uio.no>

linux lover <linux_lover2004@yahoo.com> wrote:

>        I successfully added linked list data structure
>   in kernel in header file. Write a C source file and
> add it to kernel directory. then write 2 system calls
> that read and write to linked list from user space
> through that syscalls.
>        recompile kernel. Now able to read/write that
> linked list.
>        I want to write user data in that linked list
> and allow kernel to use that info in linked list. Is
> my approach to send data from user to kernel  and
> store there as long as OS is not rebooted is right?

- A linked list is bad for random access to large amounts of data.
  Why is a linked list suitable for your data?
- Did you think about SMP races?
- Why does it need to be in the kernel? Could a daemon do the job?
- to be continued

       reply	other threads:[~2005-03-30 13:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.kvq30up.1h3mr8j@ifi.uio.no>
2005-03-30 12:27 ` Bodo Eggert [this message]
2005-03-30  7:22 linux lover
  -- strict thread matches above, loose matches on Subject: below --
2005-03-23 16:41 linux lover
2005-03-23 18:15 ` Paul Jackson
2005-03-23 16:41 linux lover
2005-03-23 17:16 ` linux-os
2005-03-23 13:20 linux lover
2005-03-23 13:28 ` linux-os
2005-03-23 13:42   ` Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1DGcHz-0001Tk-NF@be1.7eggert.dyndns.org \
    --to=7eggert@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux_lover2004@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®