Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 22:35:50 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        soc-status@freebsd.org
Cc:        =?UTF-8?B?RWR3YXJkIFRvbWFzeiBOYXBpZXJhxYJh?= <trasz@FreeBSD.org>
Subject:   Re: Collective resource limits status report #4
Message-ID:  <4C2A5926.7080801@FreeBSD.org>
In-Reply-To: <4C2761B8.9030800@FreeBSD.org>
References:  <4C1BCB96.4040608@FreeBSD.org>	<AANLkTikwUYWCIvlDQ60L4L8gMcEeDFIV6850csEwuH8E@mail.gmail.com>	<4C21CAF0.2040607@FreeBSD.org>	<AANLkTikLoskpABjaUlufnBGOBeU-Z62CiuQfH5sDyY1Z@mail.gmail.com>	<4C230A0B.3080700@FreeBSD.org> <4C2761B8.9030800@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 2010.06.27. 16:35, Gabor Kovesdan escreveu:
> Hello,
>
> since the last status report, I've added the getjlimit() and 
> setjlimit() calls. They are fully implemented (unless I didn't 
> consider some details) in a general way that doesn't depend tightly on 
> particular kinds of resource limits. I've also started to implement 
> the first limit type, JLIMIT_NUMPROC, which is quite straightforward. 
> But there is a bug I'm facing in the internal structures I use for 
> accounting. I have a linked list of jobs, and each job entry has a 
> head of another kind of linked list, which stores entries of processes 
> inside the given job. I have no problem with the outer list but the 
> inner one makes my kernel crash. I double-checked those code parts and 
> I still think they are correct, so I couldn't figure out the problem 
> so far. This week I haven't merged to Perforce yet, first I'd like to 
> make the code a bit more stable. I hope I can accomplish it in 1-2 
> days. While debugging my code, I've also written some additions to my 
> test program, which is supposed to be general enough and accepts 
> various paramteres. My intention is to use it as a regression test 
> inside a shell script, which will call it with different parameter 
> sets to test different cases.
>
No merge yet to Perforce but here's a a full patch that doesn't crash 
any more: http://kovesdan.org/patches/jobs_current.diff
Now I'm trying to get JLIMIT_NUMPROC completely work.

Gabor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C2A5926.7080801>