svn commit: r362126 - head/sys/vm

Conrad Meyer cem at freebsd.org
Thu Jun 18 00:48:25 UTC 2020


On Wed, Jun 17, 2020 at 10:50 AM John Baldwin <jhb at freebsd.org> wrote:
>
> On 6/12/20 3:33 PM, Conrad Meyer wrote:
> > On Fri, Jun 12, 2020 at 2:53 PM Eric van Gyzen <vangyzen at freebsd.org> wrote:
> >>   Honor db_pager_quit in some vm_object ddb commands
> >>
> >>   These can be rather verbose.
> >
> > We also have this (?)hack in OneFS, which eliminates the need for
> > every debug function to check the db_pager globals:
> >
> > https://people.freebsd.org/~cem/db_pager.patch
> >
> > I'm not sure how objectionable it is.
>
> I don't think this addresses that.  I think this patch makes printf turn
> into db_printf when a function is invoked from DDB which is orthogonal.
> db_printf() itself doesn't check the pager.

db_printf checks the pager, via db_putc.


More information about the svn-src-head mailing list