Re: [[RFC] 2/5] Emulates PWM hardware using a high-resolution timer and a GPIO pin

2009-11-18 Thread Aras Vaichas
2009/11/18 Bill Gatliff > The jitter can be quite low (100's of usecs) on a 200 MHz ARM9 chip, in > fact, but you'll eat your battery alive if it's a portable device.  And > the jitter will also destroy your waveform at high or low duty cycles. I agree with both of you, and I have physically test

Re: [PATCH, RFC] panic-note: Annotation from user space for panics

2009-11-18 Thread Eric W. Biederman
Tim Bird writes: > Eric W. Biederman wrote: >> Matt Mackall writes: >> >>> As much as I like kexec, it loses on memory footprint by about 100x. >>> It's not appropriate for all use cases, especially things like >>> consumer-grade wireless access points and phones. >> >> In general I agree. Th

Re: [PATCH, RFC] panic-note: Annotation from user space for panics

2009-11-18 Thread Tim Bird
Eric W. Biederman wrote: > Matt Mackall writes: > >> As much as I like kexec, it loses on memory footprint by about 100x. >> It's not appropriate for all use cases, especially things like >> consumer-grade wireless access points and phones. > > In general I agree. The cost of a second kernel an

Re: [PATCH, RFC] panic-note: Annotation from user space for panics

2009-11-18 Thread Eric W. Biederman
David VomLehn writes: >> > 2. Where would you suggest tying in? (Particularly since not all >> > architectures >> >currently support kdump) >> >> No changes are needed kernel side. You just need an appropriate kernel and >> initrd for your purpose. > > I think I must still be missing somet

Re: [PATCH, RFC] panic-note: Annotation from user space for panics

2009-11-18 Thread Eric W. Biederman
Matt Mackall writes: > As much as I like kexec, it loses on memory footprint by about 100x. > It's not appropriate for all use cases, especially things like > consumer-grade wireless access points and phones. In general I agree. The cost of a second kernel and initrd can be prohibitive in the s

Re: [PATCH, RFC] panic-note: Annotation from user space for panics

2009-11-18 Thread Américo Wang
On Wed, Nov 18, 2009 at 8:53 AM, David VomLehn wrote: > On Tue, Nov 17, 2009 at 04:28:22PM -0800, Eric W. Biederman wrote: >> David VomLehn writes: >> >> > On Tue, Nov 17, 2009 at 10:45:43AM -0500, Eric W. Biederman wrote: >> > ... >> >> Why not use the kdump hook?  If you handle a kernel panic t

Re: [PATCH, RFC] panic-note: Annotation from user space for panics

2009-11-18 Thread Artem Bityutskiy
On Tue, 2009-11-17 at 07:45 -0800, Eric W. Biederman wrote: > Artem Bityutskiy writes: > > > On Tue, 2009-11-17 at 13:45 +0100, Marco Stornelli wrote: > >> 2009/11/17 Artem Bityutskiy : > >> > Take a look at my mails where I describe different complications we have > >> > in our system. We really