Re: LinuxPPS & spinlocks

From: Chris Friesen
Date: Fri Jul 27 2007 - 15:09:19 EST


Rodolfo Giometti wrote:

The pps_event() is now protected by a spinlock against
pps_register_source() and pps_unregister_source()...

Locks protect data, not code. It may make more sense to identify the specific data being protected by the spinlock.

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/