Re: [PATCH] vt_buffer: drop console buffer copying optimisations
From: Geert Uytterhoeven
Date: Mon Feb 09 2015 - 05:49:54 EST
On Mon, Feb 9, 2015 at 11:35 AM, Daniel Stone <daniel@xxxxxxxxxxxxx> wrote:
> On 5 February 2015 at 11:35, One Thousand Gnomes
> <gnomes@xxxxxxxxxxxxxxxxxxx> wrote:
>>> If I'm not mistaken, that would be as simple as adding
>>>
>>> #define VT_BUF_HAVE_RW.
>>> #define scr_writew(val, addr) (*(addr) = (val))
>>> #define scr_readw(addr) (*(addr))
>>>
>>> to arch/x86/include/asm/vga.h.
>>
>> and stick an
>>
>> #if defined (CONFIG_SUPPORT_SHITE_VGA_ADAPTERS)
>>
>> #endif
>>
>> around that and its sorted as an option everyone can leave off but the
>> afflicted.
>
> Well, given all the distros will enable that, might as well be #if
> !defined(CONFIG_BREAK_SOME_HARDWARE_BUT_VGA_SCROLLING_WILL_BE_IMMEASURABLY_FASTER).
All distros on 1 out of 29 architectures?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/