How to run kernel functions in a separate core?


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu How to run kernel functions in a separate core?
# 1  
Old 10-02-2012
How to run kernel functions in a separate core?

Hello Friends,
I am using Ubundu.

I want to know how to run kernel functions in a separate core?

I know about Taskset and it supports only for the application.

Do anybody know any command (or) have any idea about how to do it?

Please help me

Thank you
# 2  
Old 10-02-2012
What are you trying to accomplish?

Regards,
Alister
# 3  
Old 10-02-2012
Want to run specific kernel functions in a separate core.
Do you have any idea about how to do it?

Thank you
# 4  
Old 10-03-2012
Yes we do know what you mean. But it is not what you can do. You cannot run kernel mode code as a standalone without a lot of the rest of the kernel code. You can call syscalls directly.

You can also create a module that you load into the kernel which will call specific kernel code. You can then give it a specific entry point (aka syscall)

What exactly do you mean? If you would condescend to tell us what modules you are trying to run it would make life simpler. Because the way you are asking this question says to us that you do not understand some basic things. It is like asking how do I get good mileage in a car when the brakes are locked on.

The question makes little sense as asked. Period. If you can't give us a good explanation, please try another forum where there are mind readers who are good unix programmers as well.

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Not able to run perf on Linux 4.4 kernel (Ubuntu 15.10)

I'm not able to run perf on linux 4.4. I'm using ubuntu 15.10. The error I'm getting is: WARNING: perf not found for kernel 4.4.0 You may need to install the following packages for this specific kernel: linux-tools-4.4.0-4.4.0 linux-cloud-tools-4.4.0-4.4.0 You may also want to install... (4 Replies)
Discussion started by: BHASKAR JUPUDI
4 Replies

2. Shell Programming and Scripting

How to run multiple functions in Background in UNIX Shell Scripting?

Hi, I am using ksh , i have requirement to run 4 functions in background , 4 functions call are available in a case that case is also in function, i need to execute 1st function it should run in background and return to case and next i will call 2nd function it should run in background and... (8 Replies)
Discussion started by: karthikram
8 Replies

3. Programming

can a linux kernel module call libc functions?

can a linux kernel module call libc functions, such as printf(), strcpy(), etc...? (9 Replies)
Discussion started by: vistastar
9 Replies

4. Linux

Supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" me

supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" message comes. I tried giving acpi=off to the kernel command line but same problem.It shows everything ok and no problem with memory and processors and power supplies.Wt could be the reason? It has... (1 Reply)
Discussion started by: pankajd
1 Replies

5. Red Hat

Export functions in kernel module to user Programs

Hi all, I just started working on kernel modules. One query i'm not able to resolve how i can use call any of my function(take example testfunc() ) defined in my loadable kernel module (take example : test.ko) I want to export kernel module functions to user programs. Consider i have... (0 Replies)
Discussion started by: er.tarun.9986
0 Replies

6. Programming

how to know the application run on which core, and run how many times on this core

I have a dual core pc, I write a application with two child process. I know I can add sched_get_cpu to know the process run on which core, but, it just when the sched_get_cpu is called, it will tell me the result, my quesion is how to know the child proceess spend how many times on one core. (2 Replies)
Discussion started by: yanglei_fage
2 Replies

7. UNIX for Advanced & Expert Users

kernel functions issue!

Hello All, I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver. Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
Discussion started by: vineykr
0 Replies

8. Linux

kernel functions issue!

Hello All, I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver. Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
Discussion started by: vineykr
0 Replies

9. Shell Programming and Scripting

Run Multiple Functions over SSH (BASH)

I am trying to write a script that will ssh into a remote machine and recurse through a specified directory, find mp3 files which may be two or three directories deep (think iTunes: music/artist/album/song.mp3), and scp them back to the machine running the script. The script should also maintain... (3 Replies)
Discussion started by: johnnybg00de
3 Replies

10. UNIX Desktop Questions & Answers

Does it require each x-client sould run in separate process?

Hi Every One, I got a Basic doubts about clients on X-Server environment. 1) First of all what is mend by one client. (as per my understanding one application which is connected to X-server). 2) if i say two clients connected to my X-Server from the same machine, does it mean that two... (0 Replies)
Discussion started by: ps_sureshreddi
0 Replies
Login or Register to Ask a Question