The madvise() system call allows applications to tell the kernel how it expects to use some mapped or shared memory pages, so that the kernel can choose appropriate read-ahead and caching techniques.

- 阅读全文 -

Linear Hashing

In this blog post, I will give an introduction to a hashing methodology called Linear Hashing, which is one of the Dramatic Hashing methods.

- 阅读全文 -

mmap() will be called by malloc()?

In the man page of malloc, there(NOTES section) is a paragraph as follows:Normally, malloc() allocates memory from the heap, and adjusts the size of the heap as required, using sbrk(2). When allocatin

- 阅读全文 -

Keyword restrict in C99

While reading Advanced Programming in the UNIX Environment, I noticed this:#include <stdio.h> FILE* fmemopen(void *restrict buf, size_t size, const char *restrict type);What is the keyword restr

- 阅读全文 -



  • seahi: 现在直接换了个
  • seahi: 是啊,而且显示的表格非常乱。一直没有时间对博客做些细致的调整。
  • lmshao: 这个极简的主题不错,不过就是有点太白了,不容易区分各个部分,感觉...
  • 林木: 照片拍的不错啊,
  • 林木: 额,可惜了。
  • seahi: 哈哈,之前的文章都没有了
  • 林木: 可以可以,厉害了
  • seahi: 第一条评论