用户空间和内核空间 ? 学习Linux时,经常可以看到两个词:User space(用户空间)可 Kernel space(内容空间) 简单的锁,Kernel space是Linux内核的运行空间,User space 是用户程序的运行空间。为了安全,它们是隔离的。即使用户的程序崩溃了,内核也不受影 ...
分类:
其他好文 时间:
2021-01-22 11:51:06
阅读次数:
0
本文主要是介绍Linux启动过程中做的事情,包括系统自检、BIOS开机自检、内核加载过程、环境初始化过程等。 ...
分类:
系统相关 时间:
2021-01-22 11:50:33
阅读次数:
0
Compute Shader 可以在通常的渲染管线之外运行,执行一些大量的通用计算(GPGPU algorithms),因此可以联想到把一些大量相互之间没有关联的计算转移到GPU中进行,以减轻CPU的工作量。 Compute Shader 实例 #pragma kernel FillWithRed ...
分类:
其他好文 时间:
2021-01-22 11:44:28
阅读次数:
0
KVM is an acronym of “Kernel based Virtual Machine”, and is a virtualization infrastructure for the Linux kernel that turns it into a hypervisor.It is ...
分类:
其他好文 时间:
2021-01-20 12:16:47
阅读次数:
0
Hanover Square 追忆似水年华 Can it really be sixty-two years ago that I first saw you?我们初次相遇,难道真的是六十二年前吗? It is truly a lifetime, I know. But as I gaze into ...
分类:
其他好文 时间:
2021-01-19 12:01:22
阅读次数:
0
tftp和nfs用于在开发板上通过网络系统来访问ubuntu系统下的文件。ssh服务用于支持在Windows下使用终端软件SecureCRT,MobaXterm登陆Ubuntu。 1 搭建NFS服务 sudo apt-get install nfs-kernel-server rpcbind #安装 ...
分类:
系统相关 时间:
2021-01-01 12:59:58
阅读次数:
0
会panic的几种情况 1.向已经关闭的channel发送数据 2.关闭已经关闭的channel 3.关闭未初始化的nil channel 会阻塞的情况: 1. 从未初始化nil channel中读数据 2. 向未初始化nil channel中发数据 3.在没有读取的groutine时,向无缓冲ch ...
分类:
其他好文 时间:
2020-12-31 12:11:00
阅读次数:
0
panic支持抛出任意类型的异常(而不仅仅是error类型的错误),recover函数调用的返回值和panic函数的输入参数类型一致,它们的函数签名如下: func panic(interface{}) func recover() interface{} Go语言函数调用的正常流程是函数执行返回语 ...
分类:
其他好文 时间:
2020-12-30 11:17:15
阅读次数:
0
1、 sudo apt-get install nfs-kernel-server # 安装 NFS服务器端 sudo apt-get install nfs-common # 安装 NFS客户端 2、添加NFS目录 sudo vim /etc/exports 若需要把 “/nfsroot” 目录设 ...
分类:
系统相关 时间:
2020-12-25 12:51:18
阅读次数:
0
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: Kernel版本:4.14 ARM64处理器 使用工具:Source Insight 3.5, Visio 1. 概述 ...
分类:
系统相关 时间:
2020-12-25 12:25:50
阅读次数:
0