Re: what to do on linux?
Rafael Almeida wrote:
groups should come up with something to change on
the linux kernel and make those changes, or at least part of it if the
project is too big for one semester, by the end of the semester. I did
some research and I couldn't find something interesting to do. So I'm
here asking if anyone would have a good suggestion for me.
The /proc filesystem lets you read and write
data in the kernel as if the data were in
files in a filesystem. FUSE does the same
thing for userspace programs.
The Run Time Access library lets you read
and write data in a data structure as if the
data was in a PostgreSQL DB. You can use
RTA to talk to a running userspace programs
this way.
Your project, should you decide to accept,
is to use RTA and a netlink socket to make
the tables and data structures in the kernel
look like tables in a DB.
Might at least be interesting. :)
.
Relevant Pages
- Re: how to read dynamic data structures from the kernel (was Re: reading routing table)
... steps for any given kernel subsystem -- we have data structures, synchronization models, etc, that are all tuned to their common use requirements, and monitoring is very much an edge case. ... Then we release the global locks, and proceed lock, externalize, unlock, and copyout each individual entry, using a generation number fo manage staleness. ... It's unideal in other ways -- long lists, reference count complexity, etc, but as I mentioned, it is very much an edge case, and much of that mechanism is something we need anyway for any moderately complex kernel data structure. ... (freebsd-net) - how to read dynamic data structures from the kernel (was Re: reading routing table)
... The interface problem, or how to pull bits from the kernel, is so ... What we'd need is some internal representation of the data structure ... Usually the "reason" for things like this is that no one has written the ... although doing it via an interated dump rather than a simple dump operation ... (freebsd-net) - Re: Quering "System Idle Process"
... Realize that a "process" is just a data structure in the kernel, ... This simplifies the thread scheduler, which now doesn't have to deal ... If every process has to have a parent process, ... (microsoft.public.vc.language) - Re: Can current macro be accessed from interrupt context?
... I am trying to emulate thread local storage in kernel space. ... Per cpu data structures is not quite the same thing ... central data structure protected by spinlocks. ... (Linux-Kernel) - Re: The guts of /dev/* ?
... relates to the sound driver. ... There is a master table in the kernel which maps device numbers to ... device driver entry points. ... table is refereed to and the kernel creates a data structure ... (comp.os.linux.misc) |
|