SlideShare a Scribd company logo
1 of 23
Download to read offline
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
1
REAL TIME OPERATING SYSTEMS
Lesson-5:
Memory Management Functions
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
2
1. Memory allocation
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
3
Memory allocation
 When a process is created, the memory
manager allocates the memory addresses
(blocks) to it by mapping the process-
address space.
 Threads of a process share the memory
space of the process
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
4
 Memory manager of the OS─ secure, robust
and well protected.
 No memory leaks and stack overflows
 Memory leaks means attempts to write in
the memory block not allocated to a process
or data structure.
 Stack overflow means that the stack
exceeding the allocated memory block(s)
Memory Management after Initial
Allocation
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
5
Memory Managing Strategy for a system
 Fixed-blocks allocation
 Dynamic -blocks Allocation
 Dynamic Page-Allocation
 Dynamic Data memory Allocation
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
6
Memory Managing Strategy for a system
 Dynamic address-relocation
 Multiprocessor Memory Allocation
 Memory Protection to OS functions
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
7
2. Memory allocation in RTOSes
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
8
Memory allocation in RTOSes
 RTOS may disable the support to the
dynamic block allocation, MMU support to
dynamic page allocation and dynamic
binding as this increases the latency of
servicing the tasks and ISRs.
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
9
Memory allocation in RTOSes
 RTOS may not support to memory
protection of the OS functions, as this
increases the latency of servicing the tasks
and ISRs.
 User functions are then can run in kernel
space like kernel functions
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
10
Memory allocation in RTOSes
 RTOS may provide for disabling of the
support to memory protection among the
tasks as this increases the memory
requirement for each task
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
11
3. Memory manager functions
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
12
Memory Manager functions
 (i) use of memory address space by a
process,
 (ii) specific mechanisms to share the
memory space and
 (iii) specific mechanisms to restrict sharing
of a given memory space
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
13
Memory Manager functions
 (iv) optimization of the access periods of a
memory by using an hierarchy of memory
(caches, primary and external secondary
magnetic and optical memories).
 Remember that the access periods are in the
following increasing order: caches, primary
and external secondary magnetic and then
or optical.
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
14
4. Fragmentation Memory Allocation
Problems
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
15
Fragmented not continuous memory
addresses in two blocks of a process
 Time is spent in first locating next free
memory address before allocating that to
the process.
 A standard memory allocation scheme is to
scan a linked list of indeterminate length to
find a suitable free memory block.
 When one allotted block of memory is de-
allocated, the time is spent in first locating
next allocated memory block before de-
allocating that to the process.
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
16
Fragmented not continuous memory
addresses in two blocks of a process
 The time for allocation and de-allocation of
the memory and blocks are variable (not
deterministic) when the block sizes are
variable and when the memory is
fragmented.
 In RTOS, this leads to unpredicatble task
performance
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
17
5. Memory management Example
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
18
RTOS COS-II
 Memory partitioning
 A task must create a memory partition or
several memory partitions by using function
OSMemCreate ( )
 Then the task is permitted to use the
partition or partitions.
 A partition has several memory blocks.
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
19
RTOS COS-II
 Task consists of several fixed size memory
blocks.
 The fixed size memory blocks allocation
and de-allocation time takes fixed time
(deterministic).
 OSMemGet ( )─ to provide a task a
memory block or blocks from the partition
 OSMemPut ( ) ─ to release a memory block
or blocks to the partition
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
20
Summary
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
21
We learnt
• Memory manager allocates memory to the
processes and manages it with appropriate
protection.
• Static and dynamic allocations of memory.
• Manager optimizes the memory needs and
memory utilization
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
22
We learnt
• An RTOS may disable the support to the
dynamic block allocation, MMU support to
dynamic page allocation and dynamic
binding as this increases the latency of
servicing the tasks and ISRs.
• An RTOS may or may not support memory
protection in order to reduce the latency and
memory needs of the processes.
• An RTOS may provide of running user
functions in kernel space
2015
Chapter-10 L5: "Embedded Systems - Architecture,
Programming and Design" , Raj Kamal, Publs.: McGraw-Hill,
Inc.
23
End of Lesson 5 of Chapter 10
on
Memory Management

More Related Content

Similar to Chap 10 lesson05emsys3e_memorymgt (1)

Co question bank LAKSHMAIAH
Co question bank LAKSHMAIAH Co question bank LAKSHMAIAH
Co question bank LAKSHMAIAH
veena babu
 

Similar to Chap 10 lesson05emsys3e_memorymgt (1) (20)

Design and Implementation of a Cache Hierarchy-Aware Task Scheduling for Para...
Design and Implementation of a Cache Hierarchy-Aware Task Scheduling for Para...Design and Implementation of a Cache Hierarchy-Aware Task Scheduling for Para...
Design and Implementation of a Cache Hierarchy-Aware Task Scheduling for Para...
 
NetApp Administration and Best Practice, Brendon Higgins, Proact UK
NetApp Administration and Best Practice, Brendon Higgins, Proact UKNetApp Administration and Best Practice, Brendon Higgins, Proact UK
NetApp Administration and Best Practice, Brendon Higgins, Proact UK
 
Co question bank LAKSHMAIAH
Co question bank LAKSHMAIAH Co question bank LAKSHMAIAH
Co question bank LAKSHMAIAH
 
Machine learning at scale challenges and solutions
Machine learning at scale challenges and solutionsMachine learning at scale challenges and solutions
Machine learning at scale challenges and solutions
 
Long and winding road - 2014
Long and winding road  - 2014Long and winding road  - 2014
Long and winding road - 2014
 
REDUCING COMPETITIVE CACHE MISSES IN MODERN PROCESSOR ARCHITECTURES
REDUCING COMPETITIVE CACHE MISSES IN MODERN PROCESSOR ARCHITECTURESREDUCING COMPETITIVE CACHE MISSES IN MODERN PROCESSOR ARCHITECTURES
REDUCING COMPETITIVE CACHE MISSES IN MODERN PROCESSOR ARCHITECTURES
 
REDUCING COMPETITIVE CACHE MISSES IN MODERN PROCESSOR ARCHITECTURES
REDUCING COMPETITIVE CACHE MISSES IN MODERN PROCESSOR ARCHITECTURESREDUCING COMPETITIVE CACHE MISSES IN MODERN PROCESSOR ARCHITECTURES
REDUCING COMPETITIVE CACHE MISSES IN MODERN PROCESSOR ARCHITECTURES
 
Reducing Competitive Cache Misses in Modern Processor Architectures
Reducing Competitive Cache Misses in Modern Processor ArchitecturesReducing Competitive Cache Misses in Modern Processor Architectures
Reducing Competitive Cache Misses in Modern Processor Architectures
 
Questions Log: Dynamic Cubes – Set to Retire Transformer?
Questions Log: Dynamic Cubes – Set to Retire Transformer?Questions Log: Dynamic Cubes – Set to Retire Transformer?
Questions Log: Dynamic Cubes – Set to Retire Transformer?
 
Trends in computer architecture
Trends in computer architectureTrends in computer architecture
Trends in computer architecture
 
Linux Assignment 3
Linux Assignment 3Linux Assignment 3
Linux Assignment 3
 
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
GDG Cloud Southlake #16: Priyanka Vergadia: Scalable Data Analytics in Google...
 
Apache Mesos Overview and Integration
Apache Mesos Overview and IntegrationApache Mesos Overview and Integration
Apache Mesos Overview and Integration
 
035
035035
035
 
Cache memory
Cache memoryCache memory
Cache memory
 
Beyond the RTOS: A Better Way to Design Real-Time Embedded Software
Beyond the RTOS: A Better Way to Design Real-Time Embedded SoftwareBeyond the RTOS: A Better Way to Design Real-Time Embedded Software
Beyond the RTOS: A Better Way to Design Real-Time Embedded Software
 
Techiques for Writing Embedded Code_Internet of Things
Techiques for Writing Embedded Code_Internet of ThingsTechiques for Writing Embedded Code_Internet of Things
Techiques for Writing Embedded Code_Internet of Things
 
ITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
ITARC15 Workshop - Architecting a Large Software Project - Lessons LearnedITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
ITARC15 Workshop - Architecting a Large Software Project - Lessons Learned
 
System on Chip Design and Modelling Dr. David J Greaves
System on Chip Design and Modelling   Dr. David J GreavesSystem on Chip Design and Modelling   Dr. David J Greaves
System on Chip Design and Modelling Dr. David J Greaves
 
OS for AI: Elastic Microservices & the Next Gen of ML
OS for AI: Elastic Microservices & the Next Gen of MLOS for AI: Elastic Microservices & the Next Gen of ML
OS for AI: Elastic Microservices & the Next Gen of ML
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

Chap 10 lesson05emsys3e_memorymgt (1)

  • 1. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 1 REAL TIME OPERATING SYSTEMS Lesson-5: Memory Management Functions
  • 2. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 2 1. Memory allocation
  • 3. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 3 Memory allocation  When a process is created, the memory manager allocates the memory addresses (blocks) to it by mapping the process- address space.  Threads of a process share the memory space of the process
  • 4. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 4  Memory manager of the OS─ secure, robust and well protected.  No memory leaks and stack overflows  Memory leaks means attempts to write in the memory block not allocated to a process or data structure.  Stack overflow means that the stack exceeding the allocated memory block(s) Memory Management after Initial Allocation
  • 5. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 5 Memory Managing Strategy for a system  Fixed-blocks allocation  Dynamic -blocks Allocation  Dynamic Page-Allocation  Dynamic Data memory Allocation
  • 6. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 6 Memory Managing Strategy for a system  Dynamic address-relocation  Multiprocessor Memory Allocation  Memory Protection to OS functions
  • 7. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 7 2. Memory allocation in RTOSes
  • 8. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 8 Memory allocation in RTOSes  RTOS may disable the support to the dynamic block allocation, MMU support to dynamic page allocation and dynamic binding as this increases the latency of servicing the tasks and ISRs.
  • 9. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 9 Memory allocation in RTOSes  RTOS may not support to memory protection of the OS functions, as this increases the latency of servicing the tasks and ISRs.  User functions are then can run in kernel space like kernel functions
  • 10. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 10 Memory allocation in RTOSes  RTOS may provide for disabling of the support to memory protection among the tasks as this increases the memory requirement for each task
  • 11. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 11 3. Memory manager functions
  • 12. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 12 Memory Manager functions  (i) use of memory address space by a process,  (ii) specific mechanisms to share the memory space and  (iii) specific mechanisms to restrict sharing of a given memory space
  • 13. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 13 Memory Manager functions  (iv) optimization of the access periods of a memory by using an hierarchy of memory (caches, primary and external secondary magnetic and optical memories).  Remember that the access periods are in the following increasing order: caches, primary and external secondary magnetic and then or optical.
  • 14. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 14 4. Fragmentation Memory Allocation Problems
  • 15. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 15 Fragmented not continuous memory addresses in two blocks of a process  Time is spent in first locating next free memory address before allocating that to the process.  A standard memory allocation scheme is to scan a linked list of indeterminate length to find a suitable free memory block.  When one allotted block of memory is de- allocated, the time is spent in first locating next allocated memory block before de- allocating that to the process.
  • 16. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 16 Fragmented not continuous memory addresses in two blocks of a process  The time for allocation and de-allocation of the memory and blocks are variable (not deterministic) when the block sizes are variable and when the memory is fragmented.  In RTOS, this leads to unpredicatble task performance
  • 17. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 17 5. Memory management Example
  • 18. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 18 RTOS COS-II  Memory partitioning  A task must create a memory partition or several memory partitions by using function OSMemCreate ( )  Then the task is permitted to use the partition or partitions.  A partition has several memory blocks.
  • 19. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 19 RTOS COS-II  Task consists of several fixed size memory blocks.  The fixed size memory blocks allocation and de-allocation time takes fixed time (deterministic).  OSMemGet ( )─ to provide a task a memory block or blocks from the partition  OSMemPut ( ) ─ to release a memory block or blocks to the partition
  • 20. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 20 Summary
  • 21. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 21 We learnt • Memory manager allocates memory to the processes and manages it with appropriate protection. • Static and dynamic allocations of memory. • Manager optimizes the memory needs and memory utilization
  • 22. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 22 We learnt • An RTOS may disable the support to the dynamic block allocation, MMU support to dynamic page allocation and dynamic binding as this increases the latency of servicing the tasks and ISRs. • An RTOS may or may not support memory protection in order to reduce the latency and memory needs of the processes. • An RTOS may provide of running user functions in kernel space
  • 23. 2015 Chapter-10 L5: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 23 End of Lesson 5 of Chapter 10 on Memory Management