From owner-soc-status@FreeBSD.ORG Sat Jun 12 16:58:41 2010 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D8921065674; Sat, 12 Jun 2010 16:58:41 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id CD7488FC1F; Sat, 12 Jun 2010 16:58:40 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 8690714DBA79; Sat, 12 Jun 2010 18:58:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id A9Z+AuYtZnpb; Sat, 12 Jun 2010 18:58:36 +0200 (CEST) Received: from [192.168.1.105] (catv-80-99-92-167.catv.broadband.hu [80.99.92.167]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id F25B414DBA67; Sat, 12 Jun 2010 18:58:35 +0200 (CEST) Message-ID: <4C13BCB1.6030603@FreeBSD.org> Date: Sat, 12 Jun 2010 18:58:25 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; es-ES; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?RWR3YXJkIFRvbWFzeiBOYXBpZXJhxYJh?= Subject: Collective resource limits status report #2 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2010 16:58:41 -0000 Hello, since the last report I had some discussions with my mentor and other involved folks regarding IRIX jobs and Solaris contracts. The intention was to try to match them somehow and provide one implementation and two APIs. But the problem is that Solaris uses quite a different approach and it seems quite difficult to match them, at least at the beginning of the development. So we just decided that I should first go on with the IRIX API and then we can reconsider and check again if it's possible to add the Solaris API on top of the same implementation. Linux cgroups is also something similar that we shall check later. Another problem is that the actual behaviour of the IRIX API isn't totally clear because the manual pages are quite laconic sometimes. It would be nice if somehow I could get access to an IRIX system to try it out and find the answer to some questions. My mentor told me that he would try to get that. I've started to write code to group processes together into jobs, which needs implementing 3 system calls: makenewjob(), getjid() and killjob(). The beginning was a bit difficult because I'm somewhat familiar with userland programming now but I had doubts how to do things in kernel, how system calls work, etc. but now I'm getting into it. The code that I checked in doesn't work yet it just reflects the concept that I'm trying to implement. Next week's goal is to make the code compile and work. While I'm running buildworld/buildkernel, I'll also make use of the time to write the manuals for the implemented syscalls. -- Gabor Kovesdan FreeBSD Volunteer EMAIL:gabor@FreeBSD.org .:|:.gabor@kovesdan.org WEB:http://people.FreeBSD.org/~gabor .:|:.http://kovesdan.org