内存管理(一) 页(page) 内核把物理页作为内存管理的基本单位,尽管处理器最小的可寻址单位通常为字(甚至字节),但是,内存管理单元(MMU)通常以页为单位进行处理。从虚拟内存角度来看,页就是最小单位。大多数32位体系结构都支持4K的页。 内核用struct page结构表示系统中的每个物理页,该 ...
分类:
其他好文 时间:
2020-05-25 12:34:40
阅读次数:
85
下拉框list的值为: key1-value1 key2-value2 key3-value3 选中后显示: value1 value2 value3 using System; using System.Collections.Generic; using System.ComponentMode ...
Redis Persistence Redis provides a different range of persistence options: The RDB persistence performs point in time snapshots of your dataset at spe ...
分类:
数据库 时间:
2020-05-22 12:55:10
阅读次数:
70
1、kubelet与docker驱动不一致(网上其他解决文案各种尝试无效,最后使用如下方法解决)异常【kubeletcgroupdriver:cgroupfs跟dockercgroupdriver:systemd不一致】异常描述如下:failedtocreatekubelet:misconfiguration:kubeletcgroupdriver:"cgroupfs"isdifferentfro
分类:
Web程序 时间:
2020-05-22 09:47:43
阅读次数:
174
The df and du commands provide different system information and I can not write to a partition that df says is 100% full. Which is correct and why doe ...
分类:
其他好文 时间:
2020-05-20 20:06:11
阅读次数:
77
【翻译自mos文章】DBA_JOBS 和 DBA_JOBS_RUNNING 不同的结果的解释 DBA_JOBS 和 DBA_JOBS_RUNNING 不同的结果 參考原文: Different Results from DBA_JOBS and DBA_JOBS_RUNNING (Doc ID 10 ...
分类:
数据库 时间:
2020-05-19 00:49:11
阅读次数:
98
package LeetCode_953 /** * 953. Verifying an Alien Dictionary * https://leetcode.com/problems/verifying-an-alien-dictionary/description/ * * In an ali ...
分类:
其他好文 时间:
2020-05-18 12:41:29
阅读次数:
66
1,anonymity,匿名,无个性特征。 2,hullabaloo,noisy sounds. 3,cosmopolitan,having experience from different countries. 4,yankee,美国佬的,美国北方人的。 5,inter-league,联盟间。 ...
分类:
其他好文 时间:
2020-05-15 18:15:04
阅读次数:
60
In an alien language, surprisingly they also use English lowercase letters, but possibly in a different order. The order of the alphabet is some permu ...
分类:
其他好文 时间:
2020-05-15 13:37:25
阅读次数:
61
列表解析式的好处: 代码简洁 可读性强 运行快 示例 来自《Python编程》中的一个例子:同时投掷两颗面数不同的骰子(如一个6面的D6和一个10面的D10)n次,统计两个骰子点数之和,并用Pygal绘制bar图,进行交互可视化。 不用列表解析 对以上循环都改用列表解析 可视化结果 ...
分类:
编程语言 时间:
2020-05-14 23:51:28
阅读次数:
73