user callback requirement from kernel mode
I have a requirement to use a freeware linux user mode library for data processing.
The input data is purely in kernel space and we are finding it very difficult to port
whole freeware community based project to build under linux kernel build system !
So normally the requirement is to make a callback from kernel to user mode,
call user mode lib and let it process input data
return back to kernel mode and signal the consumer.
Is it possible to achieve kernel to user mode callback ?
If it's not possible, then I have another idea to create a user mode thread making kernel calls (ioctl),
which initially blocked, being signalled when there is sufficient data. Come back to user mode,
process data in user mode, make an ioctl call, switch to kernel mode,
But the second scheme will be costlier and include 2 context switch and also difficult
to adapt in our enviornment.
Your suggestions will be very helpful.
|PostgreSQL, the NoSQL Database||Jan 29, 2015|
|HPC Cluster Grant Accepting Applications!||Jan 28, 2015|
|Sharing Admin Privileges for Many Hosts Securely||Jan 28, 2015|
|Red Hat Enterprise Linux 7.1 beta available on IBM Power Platform||Jan 23, 2015|
|Designing with Linux||Jan 22, 2015|
|Wondershaper—QOS in a Pinch||Jan 21, 2015|
- PostgreSQL, the NoSQL Database
- Sharing Admin Privileges for Many Hosts Securely
- HPC Cluster Grant Accepting Applications!
- Designing with Linux
- Wondershaper—QOS in a Pinch
- January 2015 Issue of Linux Journal: Security
- Internet of Things Blows Away CES, and it May Be Hunting for YOU Next
- Ideal Backups with zbackup
- Red Hat Enterprise Linux 7.1 beta available on IBM Power Platform
- Slow System? iotop Is Your Friend
Editorial Advisory Panel
Thank you to our 2014 Editorial Advisors!
- Jeff Parent
- Brad Baillio
- Nick Baronian
- Steve Case
- Chadalavada Kalyana
- Caleb Cullen
- Keir Davis
- Michael Eager
- Nick Faltys
- Dennis Frey
- Philip Jacob
- Jay Kruizenga
- Steve Marquez
- Dave McAllister
- Craig Oda
- Mike Roberts
- Chris Stark
- Patrick Swartz
- David Lynch
- Alicia Gibb
- Thomas Quinlan
- Carson McDonald
- Kristen Shoemaker
- Charnell Luchich
- James Walker
- Victor Gregorio
- Hari Boukis
- Brian Conner
- David Lane