[PATCH 0/2] staging: speakup factor out selection code

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Mar 27 09:34:45 EDT 2019


Hello,

Okash Khawaja, le mer. 27 mars 2019 13:24:09 +0000, a ecrit:
> One thing that's different with vt's selection.c is that it highlights
> the selected text on screen. If that is a problem then let me know and
> we can take it out.

I believe it'd actually be useful.

> Please note that in speakup selection is set inside interrupt context of
> keyboard handler. Set selection code in vt happens in process context and
> hence expects ability to sleep. To address this, there were two options:
> farm out speakup's set selection into a work_struct thread, or create 
> atomic version of vt's set_selection. These patches implement the former
> option.

Yes, the former should be fine.

Samuel


More information about the Speakup mailing list