Linux provides a number of features that can be used to implement circular buffering. There are two sets of such features: Convenience functions for determining information about power-of-2 sized ...