jagomart
digital resources
picture1_Windows Kernel Programming Pdf 187985 | Kernel Locking


 211x       Filetype PDF       File size 0.10 MB       Source: retis.sssup.it


File: Windows Kernel Programming Pdf 187985 | Kernel Locking
kernel and locking luca abeni luca abeni santannapisa it monolithic kernels traditional unix like structure protection distinction between kernel running in ks and user applications running in us thekernel behaves ...

icon picture PDF Filetype PDF | Posted on 02 Feb 2023 | 2 years ago
Partial capture of text on file.
      Kernel and Locking
          Luca Abeni
    luca.abeni@santannapisa.it
    Monolithic Kernels
    •  Traditional Unix-like structure
    •  Protection: distinction between Kernel (running in
       KS) and User Applications (running in US)
    •  Thekernel behaves as a single-threaded program
       •   Onesingle execution flow in KS at each time
       •   Simplify consistency of internal kernel structures
    •  Execution enters the kernel in two ways:
       •   Comingfromupside(system calls)
       •   Comingfrombelow(hardwareinterrupts)
 Kernel Programming                                     Kernel Locking
    Single-Threaded Kernels
    •  Only one single execution flow (thread) can execute
       in the kernel
       •   It is not possible to execute more than 1 system
           call at time
           •   Non-preemptable system calls
           •   In SMP systems, syscalls are critical sections
               (execute in mutual exclusion)
       •   Interrupt handlers execute in the context of the
           interrupted task
 Kernel Programming                                      Kernel Locking
    BottomHalves
    •  Interrupt handlers split in two parts
       •   Short and fast ISR
       •   “Soft IRQ handler”
    •  Soft IRQ hanlder: deferred handler
       •   Traditionally known ass Bottom Half (BH)
       •   AKADeferredProcedure Call - DPC - in
           Windows
       •   Linux: distinction between “traditional” BHs and
           Soft IRQ handlers
 Kernel Programming                                    Kernel Locking
The words contained in this file might help you see if this file matches what you are looking for:

...Kernel and locking luca abeni santannapisa it monolithic kernels traditional unix like structure protection distinction between running in ks user applications us thekernel behaves as a single threaded program onesingle execution ow at each time simplify consistency of internal structures enters the two ways comingfromupside system calls comingfrombelow hardwareinterrupts programming only one thread can execute is not possible to more than call non preemptable smp systems syscalls are critical sections mutual exclusion interrupt handlers context interrupted task bottomhalves split parts short fast isr soft irq handler hanlder deferred traditionally known ass bottom half bh akadeferredprocedure dpc windows linux bhs...

no reviews yet
Please Login to review.