libblock real-time behavior

Till Straumann strauman at SLAC.Stanford.EDU
Wed Apr 9 23:15:11 UTC 2003


I was (again) thinking of using 'libblock' for adding
caching to my NFS driver.

However, I'm concerned about preemption-disabled
sections in libblock.

Are these sections deterministic - what's the
"longest" preemption-disabled section to be expected?

Code like

DISABLE_PREEMPTION()

...

free(something);

...

ENABLE_PREEMPTION();

do not greatly enhance my confidence (I'd rather call 'free'
outside of the critical section).

Thanks

-- Till




More information about the users mailing list