[LinuxPPS] [PATCHv4 00/17] pps: several fixes and improvements

Alexander Gordeev lasaine at lvk.cs.msu.su
Wed Nov 24 07:55:26 CET 2010


В Sat, 20 Nov 2010 14:56:43 +0100
Udo van den Heuvel <udovdh at xs4all.nl> пишет:

> On 2010-11-18 17:00, Alexander Gordeev wrote:
> > This patchset contains several changes that improve an overall
> > design/performance of PPS subsystem. I'd like these patches to be
> > merged mainline if no one objects.
> 
> Thanks a lot for these patches, Alexander!
> Did anyone on the LinuxPPS list try these yet? (still on 2.6.35.8-ts15...)
> 
> Any noticeable/notable differences between -ts15 and the recent patches,
> as seen from a user perspective?

It was outlined in the first e-mail. I don't know what would be
noticeable most for the users. There are no new features, only fixes.

Changelog
v3 -> v4:
 * add patch 12
 * fix memory leak when unregistering pps source
 * don't allow to pass NULL timestamp to dcd_change() to simplify the
   code because this possibility is never used
 * decrease SEND_DELAY_MAX from 300ms to 100us because spending 300ms
   with disabled interrupts is inacceptable while 100us can be
   tolerated in some setups
 * integrate Andrew Morton's patch that replaces create_rt_workqueue()
   with create_workqueue()
 * fix issues pointed out by Vitezslav Samel, Rodolfo Giometti,
   Joe Perches, John Stultz and Andrew Morton:
   * fix possible PPS device freeze due to event counter overflow
   * add a workaround for a possible race in tty code to the pps-ldisc
     module; it replaces a previously used workaround in pps subsystem
     code which was worse because it affected all PPS clients. The
     problem with the current tty code is that it uses mutexes for
     locking, but ldisc reference is taken and used in atomic context
     in uart_handle_dcd_change() so it can't lock mutex and therefore
     is race-prone. This issue should be discussed I think, but this
     patch should be ok for now.
   * override pr_fmt(fmt) to automagically print module names
   * add comments describing struct pps_normtime
   * add arch_gettimeoffset() to raw nanoseconds in
     getnstime_raw_and_real()
   * use WARN_ON_ONCE instead of WARN_ON in getnstime_raw_and_real()
   * convert SIGNAL_IS_SET macro in pps_parport to inline function
   * add documentation for pps_gen_parport

-- 
  Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://ml.enneenne.com/pipermail/linuxpps/attachments/20101124/5fed94af/attachment.pgp 


More information about the LinuxPPS mailing list