3.3  Original version of Apple's mobile iOS operating system provied no means of concurrent processing. Discuss three major complications that concurrent processing adds to an operating system. 答案:此问题不太熟悉, 应该是问向操作系统中加入并发处理后的三个主要并发症是什么. 在网上搜索了一下, 得到了一…
3.12 Including the initial parent process, how many processes are created by the program shown in Figure 3.32? 答案: 共16个进程. 解析: 根据之前所学到的关于fork的知识去画进程图, 要注意的一点就是, fork的子进程的程序计数器里的指令和父进程的相同, 所以每次fork之后, 子进程里i的值都会继续增加.例如, 第一个进程, i=0时, fork的子进程的i会继续++, 从1…
3.5 When a process creates a new process using the fork() operation, which of the following state is shared between the parent process and the child process? a. Stack b.Heap c.Shared memory segments 答案:c.Shared memory segments. 解析:fork一个新的子进程时, 子进程会得…
3.2 Including the initial parent process, how many processes are created by the program shown in Figure? 答案: 会创建8个进程. 解析:相关知识: fork函数的执行原理 fork函数执行一次, 返回两次,父进程返回子进程的PID, 子进程返回0(至于返回值为什么不同, 这与do_fork函数有关,具体是怎么一回事我还不太清楚).程序中可利用此性质来区别程序的父进程和子进程. 当一个进程执行…
3.9 Describe the actions token by a kernel to content-switch between processes. 答案: 内核在进行进程上下文切换时, 首先将当前进程的上下文保存在内存中的PCB中, 然后再将下一个进程在内存中的PCB里的上下文读取出来. 上下文包含CPU寄存器里的内容, 堆, 用户栈, 内存管理信息, 数据, 文本.…
3.8 Describe the differences among short-term, medium-term, and longterm scheduling. 答案: 长期调度决定哪些进程进入到系统中,. 中期调度决定进入到系统中的进程哪些可以竞争处理器, 即哪些进程可以进入到就绪队列. 短期调度决定将处理器分配给就绪队列中的哪些进程. 扩展: 长期调度(long-term scheduling)又叫做高级调度(High-level scheduling)或作业调度(job sched…
3.4 The Sun UltraSPARC processor has multiple register sets. Describe what happens when a context switch occurs if the new context is already loaded into one of the register sets. What happens if the new context is in memory rather than in a register…
3.1 Using the program shown in the Figure3.30, explain what the output will be at LINE A 答案:LINE A 处的输出是PARENT: value = 5. 解析: 此问题的相关知识有进程创建.fork函数. 当父进程调用fork函数时, 新创建的子进程几乎但不完全与父进程相同, 子进程会获得一份父进程用户级虚拟地址空间的拷贝, 但是此拷贝是独立的, 拷贝内容包括文本.数据和bss段.堆以及用户栈. 所以在图…
Chapter 0 第0章 Operating system interfaces 操作系统接口 The job of an operating system is to share a computer among multiple programs and to provide a more useful set of services than the hardware alone supports. The operating system manages and abstracts t…
Input / Output It should also provide an interface between the devices and the rest of the system that is simple and easy to use. 于是乎这里就有了对于硬盘等IO设备的抽象. 5.1 PRINCIPLES OF I/O HARDWARE 5.1.1 I/0 Devices            I/0 devices can be roughly divided int…
DEADLOCKS Both processes are blocked and will remain so forever. This situation is called a deadlock. 6.1 RESOURCES 6.1.1 Preemptable and Nonpreemptable Resources Resources come in two types: preemptable and nonpreemptable. A preempt-able resource is…
http://www.oracle.com/technetwork/java/javase/memleaks-137499.html 3.1 Meaning of OutOfMemoryError One common indication of a memory leak is the java.lang.OutOfMemoryError error. This error is thrown when there is insufficient space to allocate an ob…
http://www.albahari.com/threading/ PART 1: GETTING STARTED Introduction and Concepts C# supports parallel execution of code through multithreading. A thread is an independent execution path, able to run simultaneously with other threads. A C# client …
Introduction(引入,介绍) and Concepts(概念) 原文地址:http://www.albahari.com/threading/ 注:水平有限不能全文翻译,备注了个别字段和短句,达到帮助理解的程度就可以了. C# supports parallel(并行) execution(执行) of code through multithreading(多线程). A thread is an independent(独立) execution path, able to run…
Chapter 0 第0章 Operating system interfaces 操作系统接口 The job of an operating system is to share a computer among multiple programs and to provide a more useful set of services than the hardware alone supports. The operating system manages and abstracts t…
  Using Load-Balancers with Oracle E-Business Suite Release 12 (Doc ID 380489.1) Modified: 12-Jun-2013 Type: WHITE PAPER   Using Load-Balancers with Oracle E-Business Suite Release 12 Last Updated:  May 17, 2013 The most current version of this docum…
图挂了可以去 https://github.com/tanghammer/mini2440_peripherals/blob/master/nand/debug_nand.md 按照前面sdram的代码,启动代码里面关看门狗.初始化存储控制器(主要是BANK0的Norflash和BANK6的SDRAM).设置栈到SDRAM的最高地址,text段的数据直接从Norflash里面取. 代码如下: head.S @********************************************…
1 Protection Profile Introduction   This document defines the security functionality expected to be provided by a general-purpose operating system capable of operating in a networked environment. It also provides a set of assurance components that de…
Introduction to Linux Threads A thread of execution is often regarded as the smallest unit of processing that a scheduler works on. A process can have multiple threads of execution which are executed asynchronously. This asynchronous execution brings…
Reading sources: 1.Johannes Braumann, Sigrid Brell-Cokcan, Adaptive Robot Control (ARC  ) Note: building upon an as of yet unnamed interface from KUKA that utilizes generic UDP packets to communicate with and control KUKA robots. use every network-ca…
http://www.askmaclean.com/archives/vbox-virtualbox-64-bit.html ************************************************************* 转自 http://edbiji.com/doccenter/showdoc/84/nav/974.html 需要在BIOS中开启虚拟化技术 1.BIOS中的虚拟化技术 本文介绍了如何在主板BIOS中启用虚拟化技术(VT).要运行一些操作系统,虚拟化…
Not many people talk about serious Windows privilege escalation which is a shame. I think the reasons for this are probably (1) during pentesting engagements a low-priv shell is often all the proof you need for the customer, (2) in staged environment…
A mechanism is provided in a data processing system for reliable asynchronous solid-state device based de-duplication. Responsive to receiving a write request to write data to the file system, the mechanism sends the write request to the file system,…
转载请标明出处: http://blog.csdn.net/sinat_15877283/article/details/51026711: 本文出自: [温利东的博客] 近期在看 @任玉刚 大神编写的<android开发艺术探索>.让我受益良多,以此来巩固一下我的学习成果.以下我将从一下几个方面写一下我对AIDL的一些简单认识. AIDL 简单概念 什么是AIDL呢?AIDL的Android官方定义例如以下: AIDL (Android Interface Definition Langua…
Remarks   The signal function enables a process to choose one of several ways to handle an interrupt signal from the operating system. The sig argument is the interrupt to which signal responds; it must be one of the following manifest constants, whi…
本文介绍Service与Activity之间的通信,文章包含以下内容: 一.Service基本用法 二.通过AIDL实现Service与Activity跨进程通信 三.Binder连接池 四.使用Messenger实现跨进程通信 五.本文的示例源码地址 文章有点长,主要分为上面5个部分,由于没找到在简书设置文内链接的方法,所以要想直接跳过基础看后面的部分,翻滚吧 !不过文章整体从简到繁,前面的基础对后面知识的理解会有帮助,所以建议按顺序看. 一.Service基本用法 基本用法即同进程下Acti…
http://baike.baidu.com/view/33701.htm 即插即用 编辑   PNP是Plug-and-Play(即插即用)的缩写.它的作用是自动配置(低层)计算机中的板卡和其他设备,然后告诉对应的设备都做了什么.PnP的任务是把物理设备和软件(设备驱动程序)相配合,并操作设备,在每个设备和它的驱动程序之间建立通信信道.换种说法,PnP分配下列资源给设备和硬件:I/O地址.IRQ.DMA通道和内存段.   1解析编辑 PnP是即插即用的意思. 在PnP技术出现之前,中断和I/O…
Android Interface Definition Language (AIDL) 1.In this document Defining an AIDL Interface Create the .aidl file Implement the interface Expose the interface to clients Passing Objects over IPC Calling an IPC Method See also Bound Services AIDL (Andr…
BACKGROUND Embodiments of this invention relate to RDMA (remote direct memory access) data transfer in a virtual environment. Traditional RDMA allows data to move directly from the memory of one computer into that of another without involving either…
A system and method for address space layout randomization ("ASLR") for a Windows operating system is disclosed. The address space layout includes one or more memory regions that are identified and then a particular implementation of the system…