diff options
author | jeff <jeff@FreeBSD.org> | 2008-03-02 07:19:35 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2008-03-02 07:19:35 +0000 |
commit | 3bd7de5a7ca507ccc85a2a4ede9e0fcb70122d19 (patch) | |
tree | e5e529ce180054c5b2e5e6f0cded42570b858dde /sys/kern/sched_ule.c | |
parent | 26fa289262c55377a8de57e630722327dfe7b50c (diff) | |
download | FreeBSD-src-3bd7de5a7ca507ccc85a2a4ede9e0fcb70122d19.zip FreeBSD-src-3bd7de5a7ca507ccc85a2a4ede9e0fcb70122d19.tar.gz |
- Add a new sched_affinity() api to be used in the upcoming cpuset
implementation.
- Add empty implementations of sched_affinity() to 4BSD and ULE.
Sponsored by: Nokia
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r-- | sys/kern/sched_ule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 706adf9..4445b05 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -2492,6 +2492,11 @@ sched_pctcpu(struct thread *td) return (pctcpu); } +void +sched_affinity(struct thread *td) +{ +} + /* * Bind a thread to a target cpu. */ |