FreeBSD

共692篇文章。

Matthew Dillon's most recent VM work

Kernel

From the commit log:

Close an interrupt race between vm_page_lookup() and (typically) a vm_page_sleep_busy() check by using the correct spl protection. An interrupt can occur inbetween the two operations and unbusy/free the page in question, causing the busy check to fail and for the code to fall through and then operate on a page that may have been freed and possibly even reused. Also note that vm_page_grab() had the same issue between the lookup, busy check, and vm_page_busy() call.

阅读全文…:Matthew Dillon's most recent VM work(本文约229字,阅读大致需要2分钟)

写一个Makefile不难,但写好一个Makefile可就不那么容易了……

Development

以前觉得Ruslan Ermilov (ru at FreeBSD dot org, mdoc(7) maintainer)一般只是commit一些Makefile,在整个project里面不过是一个做简单maintain工作的角色,真到自己动手写Makefile的时候才发现,想把Makefile写好可真是太难了。

阅读全文…:写一个Makefile不难,但写好一个Makefile可就不那么容易了……(本文约230字,阅读大致需要1分钟)
搜索文章…(按ESC退出)