don't map syscall pages into process space
Request pages, response pages, and a doorbell page are mapped into process space to enable user processes to delegate system calls directly to mcctrl/mcexec. This commit removes these mappings for the following reasons. - These mappings cause a memory leak in current fork() implementation. - These mappings are not used. - These mappings do not function properly. And the fix which corrects function of these mappings is not easy.
This commit is contained in:
@@ -22,8 +22,7 @@
|
||||
#define RESPONSE_PAGE_COUNT 16
|
||||
#define DOORBELL_PAGE_COUNT 1
|
||||
#define ARGENV_PAGE_COUNT 8
|
||||
#define SCD_RESERVED_COUNT \
|
||||
(REQUEST_PAGE_COUNT + RESPONSE_PAGE_COUNT + DOORBELL_PAGE_COUNT + ARGENV_PAGE_COUNT)
|
||||
#define SCD_RESERVED_COUNT ARGENV_PAGE_COUNT
|
||||
|
||||
#define SCD_MSG_PREPARE_PROCESS 0x1
|
||||
#define SCD_MSG_PREPARE_PROCESS_ACKED 0x2
|
||||
|
||||
Reference in New Issue
Block a user