Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1200547

Re: [PATCH 5/8] x86/vm86: Add a separate config option for hardware IRQ handling

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/8] x86/vm86: Add a separate config option for hardware IRQ handling
Date 2015-08-05 11:00 +0200
Message-ID <pU2Ik-4Ky-27@gated-at.bofh.it> (permalink)
References (1 earlier) <pRspB-7rV-17@gated-at.bofh.it> <pSekx-zO-1@gated-at.bofh.it> <pShs5-5ev-5@gated-at.bofh.it> <pSj0T-7rR-39@gated-at.bofh.it> <pSj0T-7rR-51@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Brian Gerst <brgerst@gmail.com> wrote:

> >> Disabling even less-used code that could have system stability impact. We've 
> >> discouraged user-mode drivers for a very long time.  Ironically, other than 
> >> being configured through the vm86 syscall, there isn't really anything 
> >> vm86-specific about it.  All it does is register an IRQ handler that sends a 
> >> signal to the task.
> >
> > So is this actually used by anything? Could we get away with disabling it, 
> > just to see whether anything cares?
> 
> My best guess would be some very old X11 drivers that needed interrupts to run 
> the Video BIOS code.

So let's keep it - but not complicate it with another layer of disabling logic. 
People that rely on legacies will enable vm86 as a single block - they won't 
necessarily know how deeply they rely on it.

What _would_ be useful is to have a 3-mode vm86 sysctl:

   1: enabled
   0: disabled
  -1: disabled permanently (one-shot disabling after bootup)

That way a distro can permanently disable vm86 for a particular bootup by setting 
it to -1 in /etc/sysctl.conf.

The kernel should default that setting to '0'.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 5/8] x86/vm86: Add a separate config option for hardware  IRQ handling Ingo Molnar <mingo@kernel.org> - 2015-08-05 11:00 +0200

csiph-web