From owner-freebsd-current@FreeBSD.ORG Sun Feb 17 01:58:17 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ABBD39EA for ; Sun, 17 Feb 2013 01:58:17 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by mx1.freebsd.org (Postfix) with ESMTP id 27B2634E for ; Sun, 17 Feb 2013 01:58:16 +0000 (UTC) Received: by mail-ee0-f51.google.com with SMTP id d17so2352988eek.10 for ; Sat, 16 Feb 2013 17:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=c6FQE4lUA9/sYmRC9GmaXkAJoX/RQq5bSshoe+7nm7E=; b=zgWms6XS1SMaSmqm7BE+qSzly4eJOcf/or79CQ+crfxePQqLxgbhrCvqBuijpytuX/ TPZbtVKEuomS0dlkbOVqhdAI1PjgzRZyttT8tb6GrcElgfYCtMVerQyYxn4nVnSaY6SY VV0yf9oGLyshbv2vTc7IlI9xX/nHxS8t6Xl1zoxgDnkXW8Qt3kruAewN8s8in8v4bReY rNsWDroah89E1dMho0JW9BQDM0lbzcW1fjzFpBSmWP3BCsYYVUOpPDQiCQvdrhHEJnl+ J4/QU7GDVd0UrDy1JSCpTH9MnMxBihfy418A4W0oQvLDVw09mAympEg+qhFsuxq454sT dziA== MIME-Version: 1.0 X-Received: by 10.14.223.69 with SMTP id u45mr26867509eep.23.1361066295727; Sat, 16 Feb 2013 17:58:15 -0800 (PST) Received: by 10.14.133.204 with HTTP; Sat, 16 Feb 2013 17:58:15 -0800 (PST) Date: Sat, 16 Feb 2013 17:58:15 -0800 Message-ID: Subject: Running out of bits p_flag (sys/sys/proc.h) From: hiren panchasara To: freebsd-current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2013 01:58:17 -0000 With revision=246484, it seems we have hit the limit. At $WORK we have one more flag and to accommodate that we need to bump this up. Can p_flag be bumped up to u_long? Index: proc.h =================================================================== --- proc.h (revision 245937) +++ proc.h (working copy) @@ -497,7 +497,7 @@ * The following don't make too much sense. * See the td_ or ke_ versions of the same flags. */ - int p_flag; /* (c) P_* flags. */ + u_long p_flag; /* (c) P_* flags. */ enum { PRS_NEW = 0, /* In creation */ PRS_NORMAL, /* threads can be run. */ Thanks, Hiren