1 votes 1 votes closed as a duplicate of: GATE CSE 2023 | Question: 13 Which of the following option guarantee that a computer system transit from user mode to kernel mode malloc call system call function call page fault Operating System memorybased-gatecse2023 goclasses operating-system page-fault multiple-selects + – GO Classes asked Feb 5, 2023 closed Feb 20, 2023 by Lakshman Bhaiya GO Classes 1.1k views comment Share Follow See all 2 Comments See all 2 2 Comments reply Hira Thakur commented Feb 6, 2023 reply Follow Share page fault and system call. Option (B,D) 1 votes 1 votes rd8794 commented Feb 6, 2023 reply Follow Share It says “guarantee” , so Page fault and systemcall can be the answer . Had it been “may invoke directly or indirectly “ , “malloc()” could also be included. “ malloc isn’t provided by the OS, nor is it a system call; it is a library function that uses system calls to allocate and deallocate memory. In most implementations of malloc, these system calls involve at least one of: sbrk mmap ” (reference)https://www.cs.usfca.edu/~mmalensek/cs326/assignments/project-3.html 2 votes 2 votes Please log in or register to add a comment.
0 votes 0 votes page fault and system call mansi_003 answered Feb 13, 2023 mansi_003 comment Share Follow See all 0 reply Please log in or register to add a comment.