service utility can par cpu option in system.conf
- does not have any effect, solely for debugging SMP - backward compatible with older RS instance
This commit is contained in:
@@ -85,6 +85,10 @@
|
||||
/* default scheduling quanta */
|
||||
#define USER_QUANTUM 200
|
||||
|
||||
/* defualt user process cpu */
|
||||
#define USER_DEFAULT_CPU -1 /* use the default cpu or do not change the
|
||||
current one */
|
||||
|
||||
/*===========================================================================*
|
||||
* There are no user-settable parameters after this line *
|
||||
*===========================================================================*/
|
||||
|
||||
@@ -89,4 +89,7 @@
|
||||
#define DSRV_QT USER_QUANTUM /* dynamic system services */
|
||||
#define USR_QT USER_QUANTUM /* user processes */
|
||||
|
||||
/* default CPU */
|
||||
#define DSRV_CPU USER_DEFAULT_CPU
|
||||
|
||||
#endif /* _MINIX_PRIV_H */
|
||||
|
||||
@@ -71,6 +71,14 @@ struct rs_start
|
||||
bitchunk_t rss_vm[VM_CALL_MASK_SIZE];
|
||||
int rss_nr_control;
|
||||
struct rss_label rss_control[RS_NR_CONTROL];
|
||||
|
||||
/*
|
||||
* SMP specific data
|
||||
*
|
||||
* must be at the end of the structure for binary compatibility with
|
||||
* non-smp sysytems
|
||||
*/
|
||||
int rss_cpu;
|
||||
};
|
||||
|
||||
/* ACL information for access to PCI devices */
|
||||
|
||||
Reference in New Issue
Block a user