[lkml]   [2005]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Accessing data structure from kernel space
linux lover <> 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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-04-06 13:31    [W:0.023 / U:3.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site