Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-17-2006, 10:27 AM   #1
LQ Newbie
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
Question flushing kernel space memory using sync/bdflush

We are using MPC8270 as processor an running linux 2.6.11. We are seeing unusual crashes/kernel panic in swapper, events/o and so on. We are calling IOCTL calls from the application continuously to read/write to the memory mapped FPGA Device. When printf/printk is given there is no problem but once they are removed i'm getting app/kernel crash. As of now I'm thinking if I could call sync/bdflush inside IOCTL function it could be useful. Could you help me how to include the header files for this? Is this supported for 2.6.x? Because in unistd.h sync function was not there ??? Kindly help me out and give some pointers on the Issue.If you need the source code pl mail me I'll send it across. Thanks in advance.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 12:32 PM
flushing memory buffers lucky6969b Programming 6 01-18-2006 09:42 PM
kernel memory + slabinfo.. + possible reasons for kernel space allocation failures!! premenjit Linux - Software 1 09-28-2004 04:13 AM
dynamic allocation of memory in kernel space appas Programming 1 08-04-2004 06:32 AM
Do I have enough disk space and memory? MarkFour Linux - Newbie 2 02-06-2004 07:43 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration