From owner-svn-src-all@freebsd.org Sun Jan 10 13:08:43 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68932A5FBBD for ; Sun, 10 Jan 2016 13:08:43 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3B031DE0 for ; Sun, 10 Jan 2016 13:08:42 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-wm0-x233.google.com with SMTP id f206so184051790wmf.0 for ; Sun, 10 Jan 2016 05:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ccu58JuLzIJH4QsFKzL80q1Y1YucXwZi83FyBU7Ol7Q=; b=WKFE2jQ7KaaAxSsVQQ/HgQxflAVu0kqImYFNnVH8kBfbY6GxppU0srQUq14fji0liB u+1NkSUIETaCm4w+GZBIxhJLe44Hx6IME21nnEQRv7+uIPtYONC6s5caBCT0x/p9fbH9 taEMsF5QBF7XrdHfdz+b+vwZKji3PSOsZ7A2J5T0OI6rk7FdBKCfwqN5FKZsU+kdCH/h bJTOabuK0uJpYSMnDrBi9Jlvd+40Y7XGp1VZ8TEhuD9rjm2Roamyy5NVNIMw/iolcTyR TLJe9E+2/3saNTlrvNO3C9oKgZN1wg25gktANOBzZgYm06b45EjHgWpFlHz49l3+KaLt rF2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ccu58JuLzIJH4QsFKzL80q1Y1YucXwZi83FyBU7Ol7Q=; b=BOAVrICMAQj3cn9AoFhWGlgwTfXlSSWNNLtPsj3VHg9wfA3mPigUPAOUS+ljmCFJ0E 1HOwXKhO0Y0b+BUMZek6Cf0ncZ+8EOjtarLaMDU1LgPavphBwV0Lm40fRSUyvNc+mkRx xbv3lSXHkJg7xbKZoduaH64zbql3r8LaeUp7Vjl2HW+i1KFm+LMOQrusr/wq+FWyDD4y KvCTprncCA65LoPQ+PtfeHiIT/U8dZpbIeA5/aVrPw95/F8nSvklgpBd+XeHcCJh2vWE 0d/nPja2jylRLc+Yp6jEsC85LWJrHBiBcimDfOs3g6ztxa5ANlh8G/h/6EQNlcOqTQHp DOEQ== X-Gm-Message-State: ALoCoQkgBmcfSbgyHBjMlGA0uXCe2PxJiEFpSdhKZ+Ds87T9j/umyzV9lBlnBw5iR9joEJHolO27vNYghg+4U2IqakqcExKNUTqudn2WPctGzUljr0yvuIw= MIME-Version: 1.0 X-Received: by 10.194.171.66 with SMTP id as2mr28129264wjc.73.1452431321337; Sun, 10 Jan 2016 05:08:41 -0800 (PST) Received: by 10.194.85.167 with HTTP; Sun, 10 Jan 2016 05:08:41 -0800 (PST) In-Reply-To: <201511122200.tACM0xtq091540@repo.freebsd.org> References: <201511122200.tACM0xtq091540@repo.freebsd.org> Date: Sun, 10 Jan 2016 14:08:41 +0100 Message-ID: Subject: Re: svn commit: r290728 - in head/sys: amd64/include i386/include kern vm From: Oliver Pinter To: John Baldwin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2016 13:08:43 -0000 On 11/12/15, John Baldwin wrote: > Author: jhb > Date: Thu Nov 12 22:00:59 2015 > New Revision: 290728 > URL: https://svnweb.freebsd.org/changeset/base/290728 > > Log: > Export various helper variables describing the layout and size of > certain kernel structures for use by debuggers. This mostly aids > in examining cores from a kernel without debug symbols as a debugger > can infer these values if debug symbols are available. > > One set of variables describes the layout of 'struct linker_file' to > walk the list of loaded kernel modules. > > A second set of variables describes the layout of 'struct proc' and > 'struct thread' to walk the list of processes in the kernel and the > threads in each process. > > The 'pcb_size' variable is used to index into the stoppcbs[] array. > > The 'vm_maxuser_address' is used to distinguish kernel virtual addresses > from user addresses. This doesn't have to be perfect, and > 'vm_maxuser_address' is a cheap and simple way to differentiate kernel > pointers from simple values like TIDs and PIDs. > > While here, annotate the fields in struct pcb used by kgdb on amd64 > and i386 to note that their ABI should be preserved. Annotations for > other platforms will be added in the future. > > Reviewed by: kib > MFC after: 2 weeks Hi John! Are you still plan to MFC back to 10-STABLE this commit? > Differential Revision: https://reviews.freebsd.org/D3773 > > Modified: > head/sys/amd64/include/pcb.h > head/sys/i386/include/pcb.h > head/sys/kern/kern_linker.c > head/sys/kern/kern_mib.c > head/sys/kern/kern_proc.c > head/sys/vm/vm_kern.c > [...] > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" >