12-18-2013
These modules are responsible for changing CPU speed on the fly. Without them it may run hot.
9 More Discussions You Might Find Interesting
1. SuSE
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies
2. Ubuntu
Hi All,
Please let me know the following.
1) Does POSIX lib support kernel threads? if yes, please let me know what are the specific function calls used to create/manage kernel threads.
2) Is Posix scalable?
3) Does POSIX take the advantage of multiprocessor systems?
your help is much... (4 Replies)
Discussion started by: jayfriend
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to learn that all the family of x86 processors are supported by kernel.
I want to buy a board, which has VIA ESP10K processor and
CHIPSET: VIA CN333 north bridge & VIA VT8237R south bridge
Where can I find this?
Thanks. (5 Replies)
Discussion started by: yildiz.a
5 Replies
4. Linux Benchmarks
CPU/Speed: AMD Phenom(tm) 9950 Quad-Core Processor
Ram: 3.6 GB
Motherboard: Foxconn 7da-s
Bus:
Cache:
Controller:
Disk:
Load:
Kernel: Linux 2.6.26-2-amd64
Kernel ELF?:
pgms:
==============================================================
BYTE UNIX Benchmarks (Version... (0 Replies)
Discussion started by: migracho
0 Replies
5. Solaris
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies
6. UNIX for Dummies Questions & Answers
Hi there,
I have a Debian Squeeze server.
How can I check if my kernel was compiled with NFS server support?
Extra question: if it is not, how do I enable NFS support in my kernel?
Thanks for your help.
Santiago (3 Replies)
Discussion started by: chebarbudo
3 Replies
7. Linux
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
8. IP Networking
Hello, i tried to enable IPv6 networking and after service network restart i seen these messages:
FATAL: Error inserting ipv6 (/lib/modules/2.6.18-348.16.1.el5.028stab108.1/kernel/net/ipv6/ipv6.ko): Device or resource busy
CRITICAL : Kernel is not compiled with IPv6 support
Bringing up... (6 Replies)
Discussion started by: postcd
6 Replies
9. Solaris
folks,
I have a query. Can we create Kernel zone with the earlier Solaris OS?
More precisely Can i create kernel zone with any different OS than that of OS in global zone. As of now in sol11U2 if we create kernel zone, there will be sol11u2 OS in kernel zone since the same is in global.
But... (4 Replies)
Discussion started by: Vaishey
4 Replies
GETCPU(2) Linux Programmer's Manual GETCPU(2)
NAME
getcpu - determine CPU and NUMA node on which the calling thread is running
SYNOPSIS
#include <linux/getcpu.h>
int getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache);
DESCRIPTION
The getcpu() system call identifies the processor and node on which the calling thread or process is currently running and writes them into
the integers pointed to by the cpu and node arguments. The processor is a unique small integer identifying a CPU. The node is a unique
small identifier identifying a NUMA node. When either cpu or node is NULL nothing is written to the respective pointer.
The third argument to this system call is nowadays unused.
The information placed in cpu is only guaranteed to be current at the time of the call: unless the CPU affinity has been fixed using
sched_setaffinity(2), the kernel might change the CPU at any time. (Normally this does not happen because the scheduler tries to minimize
movements between CPUs to keep caches hot, but it is possible.) The caller must be prepared to handle the situation when cpu and node are
no longer the current CPU and node.
VERSIONS
getcpu() was added in kernel 2.6.19 for x86_64 and i386.
CONFORMING TO
getcpu() is Linux specific.
NOTES
Linux makes a best effort to make this call as fast possible. The intention of getcpu() is to allow programs to make optimizations with
per-CPU data or for NUMA optimization.
Glibc does not provide a wrapper for this system call; call it using syscall(2); or use sched_getcpu(3) instead.
The tcache argument is unused since Linux 2.6.24. In earlier kernels, if this argument was non-NULL, then it specified a pointer to a
caller-allocated buffer in thread-local storage that was used to provide a caching mechanism for getcpu(). Use of the cache could speed
getcpu() calls, at the cost that there was a very small chance that the returned information would be out of date. The caching mechanism
was considered to cause problems when migrating threads between CPUs, and so the argument is now ignored.
SEE ALSO
mbind(2), sched_setaffinity(2), set_mempolicy(2), sched_getcpu(3), cpuset(7)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2008-06-03 GETCPU(2)