Excessive KDSETMODE ioctls
Daniel Drake
drake at endlessm.com
Fri Feb 28 11:18:34 PST 2014
Hi,
I noticed that plymouth generates a zillion KDSETMODE(graphics) ioctls
when animating. Not harmful, but doesn't seem quite right.
Here's a trace:
#0 ply_terminal_set_mode (terminal=0x24100, mode=PLY_TERMINAL_MODE_GRAPHICS)
at ply-terminal.c:766
#1 0xb6e13a3a in flush_head (head=0x45f08, backend=0x378e0)
at ./plugin.c:1057
#2 flush_head (backend=0x378e0, head=0x45f08) at ./plugin.c:1043
#3 0xb6fa885e in ply_renderer_flush_head (renderer=0x24248, head=0x45f08)
at ply-renderer.c:342
#4 0xb6fa50ba in ply_pixel_display_flush (display=<optimized out>)
at ply-pixel-display.c:103
#5 ply_pixel_display_flush (display=<optimized out>)
at ply-pixel-display.c:115
#6 ply_pixel_display_unpause_updates (display=<optimized out>)
at ply-pixel-display.c:121
Looks like flush_head is called for every frame and calls
ply_terminal_set_mode() each time. Is there a good reason for this?
Thanks
Daniel
More information about the plymouth
mailing list