From: Philip Homburg Date: Wed, 27 Jul 2005 11:48:13 +0000 (+0000) Subject: The priority of FS should be lower than that of PM to avoid race conditions X-Git-Tag: v3.1.0~521 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch11.html?a=commitdiff_plain;h=93fc19de2c9f632e8a376b5a44729d0319fe9945;p=minix.git The priority of FS should be lower than that of PM to avoid race conditions when processes are killed due to a signal. --- diff --git a/kernel/table.c b/kernel/table.c index eecef8589..8730ac724 100755 --- a/kernel/table.c +++ b/kernel/table.c @@ -74,7 +74,7 @@ PUBLIC struct system_image image[] = { { SYSTEM, sys_task, TASK_F, SYS_T, TASK_Q, SYSTEM_S, FILLED_MASK, SYSTEM_SEND_MASK, "SYSTEM" }, { HARDWARE, 0, TASK_F, SYS_T, TASK_Q, HARDWARE_S, EMPTY_MASK, SYSTEM_SEND_MASK, "KERNEL" }, { PM_PROC_NR, 0, SYS_F, SYS_T, 3, 0, FILLED_MASK, SERVER_SEND_MASK, "PM" }, - { FS_PROC_NR, 0, SYS_F, SYS_T, 3, 0, FILLED_MASK, SERVER_SEND_MASK, "FS" }, + { FS_PROC_NR, 0, SYS_F, SYS_T, 4, 0, FILLED_MASK, SERVER_SEND_MASK, "FS" }, { SM_PROC_NR, 0, SYS_F, SYS_T, 3, 0, FILLED_MASK, SYSTEM_SEND_MASK, "SM" }, { IS_PROC_NR, 0, SYS_F, SYS_T, 2, 0, FILLED_MASK, DRIVER_SEND_MASK, "IS" }, { TTY, 0, SYS_F, SYS_T, 1, 0, FILLED_MASK, SYSTEM_SEND_MASK, "TTY" },