[CRIU] [PATCH 4/7] tty: Prepare tracking bitmaps for multiple devpts handling

Cyrill Gorcunov gorcunov at gmail.com
Wed Feb 8 07:48:04 PST 2017


On Wed, Feb 08, 2017 at 11:37:55AM +0300, Pavel Emelyanov wrote:
> > +
> > +static unsigned long *tty_lookup_bitmap(tty_bitmap_t **root, int mnt_id)
> 
> It's much better to keep the bitmap on mount_info->private field
> rather than introduce yet another list for it.

And how on earth it's better? mount subsystem has nothing to do with
tty system, completely. For this reason our tty module is isolated
from anything else.

	Cyrill


More information about the CRIU mailing list