On Sat, 12 Sep 2009 15:53:59 +0200
Dag-Erling Sm__rgrav <[email protected]> wrote:

> The default maximum size of the DDB capture buffer is 48 kB.  This is
> ridiculously low; it's not even nearly enough to capture the output from
> the first example in textdump(4):
> 
>     script kdb.enter.panic=textdump set; capture on; show allpcpu; bt;
>          ps; alltrace; show alllocks; call doadump; reset
> 
> Would anyone object to increasing it to 1 MB?  DDB is opt-in, so it will
> only affect people who compile it into their kernel (or -CURRENT users
> who don't compile it out; they have it coming).
> 

I'd say it's a good idea, as long as you put a warning in UPDATING for people
using e.g. embedded devices with little memory.  It's reasonable to expect such
users to customize their kernel configs.

---
Gary Jennejohn
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to