Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2016 14:08:41 +0100
From:      Oliver Pinter <oliver.pinter@hardenedbsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r290728 - in head/sys: amd64/include i386/include kern vm
Message-ID:  <CAPQ4ffsm=Pq-R=QKLtjJ0obRAqjesaCtezsPc9y%2Bh%2BaGasMRFw@mail.gmail.com>
In-Reply-To: <201511122200.tACM0xtq091540@repo.freebsd.org>
References:  <201511122200.tACM0xtq091540@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/12/15, John Baldwin <jhb@freebsd.org> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPQ4ffsm=Pq-R=QKLtjJ0obRAqjesaCtezsPc9y%2Bh%2BaGasMRFw>