lkml.org 
[lkml]   [1997]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectuser processes calling loadable modules routines
Hi --

I want to write a user process that calls (send several args, get
return value, synchronous) routines in a loadable modules as fast as
possible. If I could dynamically add (and remove) syscalls from the
module at load (and cleanup) time, that'd be fantastic. If not,
what's currently the next best way? I need a mechanism as close to
the performance characteristics of syscalls, since:

(1) I will be calling them zillions of times in all sorts of
concurrency patterns for benchmarking and correctness testing, and

(2) some of the routines so tested will eventually either become
static syscalls, or even replace existing ones.

What are the right ways from user processes to communicate
bidirectionally with module routines?

Procfs seems to have a get_info hack to make read-only files easy, but
everything else appears to require hacking the static kernel.

Thanks!

-- Perry Wagle, Research Programmer, Synthetix Project
(wagle@cse.ogi.edu)

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.032 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site