summaryrefslogtreecommitdiff
path: root/xutils.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:02:20 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:02:20 +0200
commit0b65b09f15783b067343f7a2dcf67ae1f1e27dc7 (patch)
tree6aae73353ac5c8fc45c9d8c6095dc27fd15053d3 /xutils.h
parent4722d3bac43062a9213a08ed2435b8ef9b426789 (diff)
proc: move out process specific management functions
Move them out of xutils, so that we can maintain them separately. Also simplify things a bit. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xutils.h')
-rw-r--r--xutils.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/xutils.h b/xutils.h
index 53bdca3..83d710a 100644
--- a/xutils.h
+++ b/xutils.h
@@ -47,12 +47,6 @@ extern void register_signal(int signal, void (*handler)(int));
extern void register_signal_f(int signal, void (*handler)(int), int flags);
extern void set_epoll_descriptor(int fd_epoll, int action, int fd_toadd, int events);
extern int set_epoll_descriptor2(int fd_epoll, int action, int fd_toadd, int events);
-extern void cpu_affinity(int cpu);
-extern int set_proc_prio(int prio);
-extern int set_sched_status(int policy, int priority);
-extern int get_default_sched_policy(void);
-extern int get_default_sched_prio(void);
-extern int get_default_proc_prio(void);
extern void set_system_socket_memory(int *vals, size_t len);
extern void reset_system_socket_memory(int *vals, size_t len);
extern void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec,