Re: Mirror Driver Architecture

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Ronny S" <RonnyS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Before you embark on a multimonth development effort, have you checked out
the various VNCs, which do exactly what you are asking, and come with
source code?

Unfortunately the VNC family of products are licensed under GPL which means
we can't use them unless we publish our own source code (this is a commercial
application we are developing).

You only have to publish the parts that are derived from VNC. I assume
your product does more than just what VNC does, otherwise no one would buy
it.

The reason I thought this might be the right architecture is twofold:

a) sharing memory with user mode would require pre-allocation of a memory
buffer from the non-paged pool (a limited resource), would require
synchronization, notification etc., whereas doing everything in kernel mode
would be able to take advantage of lookaside lists, a preferred method of
memory usage in kernel drivers according to Microsoft documentation;

You're reading way too much into that recommendation. They're saying,
"when you need memory in a kernel driver, lookaside lists are a good way to
do that." However, lookaside lists are certainly NOT a reason to move code
into the kernel. There are a rich array of memory management schemes
available in user-mode, many of which are even better. Kernel mode has
traditionally had a dearth of such schemes.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.



Relevant Pages

  • Re: Expertise required:USB bulk-throughput and memory leak detection
    ... pointer to the source code;) ... Subject: Expertise required:USB bulk-throughput and memory ... detecting memory leaks caused by our driver code. ... utilisation of kernel memory used by our driver.(kernel ...
    (Linux-Kernel)
  • Re: Detecting remote VNC user access
    ... Get the VNC server source code and see what you can customize. ... MetaVNC, etc. ... I recently installed UltraVNC. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Xorg and VNC Errors
    ... > memory) which had been running fine until he did that. ... > about yum, and I'm not exactly sure what was updated, but now when it ... > graphical part of the boot proccess, ... > not VNC into the box to get a remote desktop. ...
    (Fedora)
  • Re: Frame buffer driver for X server
    ... I intend to create a program with _some_kind_of_ user interface and don't intend to use qt. ... The device does not have any graphic hardware and so I'd like to use a PC as display (via X11 or VNC or whatever). ... There is a stub virtual frame buffer in the 2.4 kernels, but it is a black hole - you can write to it, but the kernel just throws away anything written into it. ...
    (comp.os.linux.embedded)
  • Re: remote X vs VNC
    ... > drawback is that the VNC X Server actually runs on the Linux side and ... > takes up memory there. ...
    (comp.os.linux.embedded)