From owner-p4-projects@FreeBSD.ORG Sat Dec 11 12:41:40 2010 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 72FA110656A4; Sat, 11 Dec 2010 12:41:40 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 342D11065698 for ; Sat, 11 Dec 2010 12:41:40 +0000 (UTC) (envelope-from trasz@freebsd.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:4f8:fff6::2d]) by mx1.freebsd.org (Postfix) with ESMTP id 2120D8FC14 for ; Sat, 11 Dec 2010 12:41:40 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.4/8.14.4) with ESMTP id oBBCfeSv091975 for ; Sat, 11 Dec 2010 12:41:40 GMT (envelope-from trasz@freebsd.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.4/8.14.4/Submit) id oBBCfe5u091972 for perforce@freebsd.org; Sat, 11 Dec 2010 12:41:40 GMT (envelope-from trasz@freebsd.org) Date: Sat, 11 Dec 2010 12:41:40 GMT Message-Id: <201012111241.oBBCfe5u091972@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to trasz@freebsd.org using -f From: Edward Tomasz Napierala To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 186853 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Dec 2010 12:41:40 -0000 http://p4web.freebsd.org/@@186853?ac=10 Change 186853 by trasz@trasz_victim on 2010/12/11 12:41:32 Update TODO. Affected files ... .. //depot/projects/soc2009/trasz_limits/TODO#34 edit Differences ... ==== //depot/projects/soc2009/trasz_limits/TODO#34 (text+ko) ==== @@ -25,14 +25,25 @@ Milestone 3: + - Fix %CPU limits for shortly living processes. + + - Make sure we enforce limits whenever it's needed. + + - Add support for hierarchical jails. + + - Get rid of container_lock. Atomic instructions would be nice, but we really + need 64 bits (per-process counters could be 32 bit, I guess, but the higher + level containers could overflow), and atomic(9) doesn't support 64 bit values + on 32 bit platforms. + + - Rethink HRL locking. + - Consider replacing proc pointer with thread pointer in rusage_add(9) et al. In most cases caller uses 'td->td_proc' anyway, and passing thread would allow the HRL code to send a signal to the offending thread instead of the offending process. - - Add support for hierarchical jails. - - - Make sure we enforce limits whenever it's needed. + - Add a tool a'la zonestat(1M). Issues: