Add expire_max_log_files system variable.
This parameter will control total binary log file count.
And this parameter doesn't care about the creation time of binary log file.

So we can put binary and relay log on small ramdisk or tmpfs of Linux.
It's useful when a machine doesn't have RAID Controller or RAID Controller doesn't have cache memory.