Archive for the 'hacking' Category

QEMU has been accepted for GSoC 2010!

Friday, March 19th, 2010

Three days working until late at night to make this happen and we did it: QEMU has been accepted for Google Summer of Code 2010.
Take a look at our ideas page:
http://wiki.qemu.org/Google_Summer_of_Code_2010
We have all kinds of projects there: a library, application protocol, hardware emulation, kernel, and a lot more.
Please, note that QEMU is not only an [...]

Learning Scheme

Sunday, December 14th, 2008

Exercise: Write a function that returns the length of a list (without using the scheme length function).
My try:

(define mylengh
(lambda (ilist)
(letrec ((mylengh-rec
(lambda (rlist nr)
[...]

Initial VMA data and vfork()

Saturday, October 18th, 2008

As I am going to play with the VMA code and its main data structure (a red-black tree), I have started to collect some data by using systemtap, and got a bit impressed by the number of times find_vma() is called by some processes, as shows the table below.

PID
exec name
nr calls (5 seconds)
doing…

21984
cc1
1570
Compiling Linux kernel

11533
X
13252
Switching [...]

A new blog

Tuesday, October 7th, 2008

While reading the 2.6.27-rc9 announcement email today (looking for fixed bugs, of course) I found this:

PS. I already bugged people on the git lists with this, but since I’m
totally shameless and can’t help but hope that some random kernel person
also does tcl/tk or just wants to help improve my kids-time-tracker, I can
just point to
http://torvalds-family.blogspot.com/2008/10/tracking-time-kids-spend-online.html
and hope [...]

JOS Virtual Memory (part 2)

Monday, May 5th, 2008

Introduction
This post will briefly explain what copy-on-write fork() is, then we will discuss JOS’s very particular copy-on-write fork() implementation which is mostly done in user-space.
Hopefully this post will give you a good understanding of the system calls presented in the first part of this series.
To be honest, I am not sure whether copy-on-write fork() is [...]